diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-25 16:49:02 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-25 16:49:02 +0000 |
commit | 402785357ab053dd53f4fdd858b9630a5e0f8bad (patch) | |
tree | 68d445a935324fbe002d22e1d18790497d275ba3 /lib/Sema/Sema.cpp | |
parent | 1cbac8ac446cf513dbc7486dd50abd55bcfc62c6 (diff) |
Mechanically rename SourceManager::getInstantiationLoc and
FullSourceLoc::getInstantiationLoc to ...::getExpansionLoc. This is part
of the API and documentation update from 'instantiation' as the term for
macros to 'expansion'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 7f0e4769c5..bcac88a43d 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -687,7 +687,7 @@ bool Sema::findMacroSpelling(SourceLocation &locref, StringRef name) { // There's no good way right now to look at the intermediate // instantiations, so just jump to the instantiation location. - loc = getSourceManager().getInstantiationLoc(loc); + loc = getSourceManager().getExpansionLoc(loc); // If that's written with the name, stop here. SmallVector<char, 16> buffer; |