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 | f84ef95ecec34f27fd05eb4e0392ca6bd3bd0be0 (patch) | |
tree | bf7176de44ab7f4ea84470b94c18f1b9c26f0a39 /include/clang/Basic/SourceManager.h | |
parent | 999f739404edf2078cf9f9c28b4dc45c19765842 (diff) |
getInstantiationLocSlowCase -> getExpansionLocSlowCase
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r-- | include/clang/Basic/SourceManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index 6627391df9..4db9323559 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h @@ -729,7 +729,7 @@ public: // Handle the non-mapped case inline, defer to out of line code to handle // expansions. if (Loc.isFileID()) return Loc; - return getInstantiationLocSlowCase(Loc); + return getExpansionLocSlowCase(Loc); } /// getImmediateExpansionRange - Loc is required to be an expansion location. @@ -1130,7 +1130,7 @@ private: FileID getFileIDLocal(unsigned SLocOffset) const; FileID getFileIDLoaded(unsigned SLocOffset) const; - SourceLocation getInstantiationLocSlowCase(SourceLocation Loc) const; + SourceLocation getExpansionLocSlowCase(SourceLocation Loc) const; SourceLocation getSpellingLocSlowCase(SourceLocation Loc) const; std::pair<FileID, unsigned> |