diff options
Diffstat (limited to 'contrib/llvm-project/clang/include/clang/AST/NestedNameSpecifier.h')
-rw-r--r-- | contrib/llvm-project/clang/include/clang/AST/NestedNameSpecifier.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/clang/include/clang/AST/NestedNameSpecifier.h b/contrib/llvm-project/clang/include/clang/AST/NestedNameSpecifier.h index 8bc3e25c0f4b..3b6cf9721185 100644 --- a/contrib/llvm-project/clang/include/clang/AST/NestedNameSpecifier.h +++ b/contrib/llvm-project/clang/include/clang/AST/NestedNameSpecifier.h @@ -162,7 +162,7 @@ public: /// Return the prefix of this nested name specifier. /// /// The prefix contains all of the parts of the nested name - /// specifier that preced this current specifier. For example, for a + /// specifier that precede this current specifier. For example, for a /// nested name specifier that represents "foo::bar::", the current /// specifier will contain "bar::" and the prefix will contain /// "foo::". @@ -521,7 +521,7 @@ public: /// NestedNameSpecifiers into a diagnostic with <<. inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB, NestedNameSpecifier *NNS) { - DB.AddTaggedVal(reinterpret_cast<intptr_t>(NNS), + DB.AddTaggedVal(reinterpret_cast<uint64_t>(NNS), DiagnosticsEngine::ak_nestednamespec); return DB; } |