diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-25 20:52:26 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-25 20:52:26 +0000 |
commit | c84d769c686fd09651bcdcf2f34b342312db78d5 (patch) | |
tree | 2a7efdcbf0cd8dea0e5450a89518aad80d08c7ae /clang/lib/Basic/SourceManager.cpp | |
parent | ca757587a3e524e0f58756e8efbea8aff4b020b9 (diff) | |
download | bcm5719-llvm-c84d769c686fd09651bcdcf2f34b342312db78d5.tar.gz bcm5719-llvm-c84d769c686fd09651bcdcf2f34b342312db78d5.zip |
getInstantiationLocSlowCase -> getExpansionLocSlowCase
llvm-svn: 135961
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
-rw-r--r-- | clang/lib/Basic/SourceManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp index 30ea39e8a49..63f23649252 100644 --- a/clang/lib/Basic/SourceManager.cpp +++ b/clang/lib/Basic/SourceManager.cpp @@ -783,11 +783,11 @@ FileID SourceManager::getFileIDLoaded(unsigned SLocOffset) const { } SourceLocation SourceManager:: -getInstantiationLocSlowCase(SourceLocation Loc) const { +getExpansionLocSlowCase(SourceLocation Loc) const { do { // Note: If Loc indicates an offset into a token that came from a macro // expansion (e.g. the 5th character of the token) we do not want to add - // this offset when going to the instantiation location. The instatiation + // this offset when going to the instantiation location. The expansion // location is the macro invocation, which the offset has nothing to do // with. This is unlike when we get the spelling loc, because the offset // directly correspond to the token whose spelling we're inspecting. |