diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-14 16:07:57 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-14 16:07:57 +0000 |
commit | cea731a9cb7de3f473d60e5ea544e25621cebd76 (patch) | |
tree | 50be0053bde1d3f02b60c4edac2ee559049b1236 | |
parent | 9dbe16eb808ed3b58be6be48bf4ae7317db63e89 (diff) |
Clean up two lingering comments that mention 'instantiation' w.r.t.
macros in libclang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135148 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/libclang/CIndex.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index c78584a3a7..756d570d91 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -2806,7 +2806,7 @@ void clang_getInstantiationLocation(CXSourceLocation location, *static_cast<const SourceManager*>(location.ptr_data[0]); SourceLocation InstLoc = SM.getInstantiationLoc(Loc); - // Check that the FileID is invalid on the instantiation location. + // Check that the FileID is invalid on the expansion location. // This can manifest in invalid code. FileID fileID = SM.getFileID(InstLoc); bool Invalid = false; @@ -4541,8 +4541,8 @@ AnnotateTokensWorker::Visit(CXCursor cursor, CXCursor parent) { } if (clang_isPreprocessing(cursor.kind)) { - // For macro instantiations, just note where the beginning of the macro - // instantiation occurs. + // For macro expansions, just note where the beginning of the macro + // expansion occurs. if (cursor.kind == CXCursor_MacroExpansion) { Annotated[Loc.int_data] = cursor; return CXChildVisit_Recurse; |