diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-26 03:03:05 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-26 03:03:05 +0000 |
commit | bf340e452339e374ea6eef78c1f0a2abdd16c5a3 (patch) | |
tree | 8c1f55248e74ac8a70ebc51ef84cde8bd51e20f9 /lib/Lex/Preprocessor.cpp | |
parent | 96d3589e523a04f4ff2058a7919226ce60696ae8 (diff) |
Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r-- | lib/Lex/Preprocessor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index fbdb903598..a5e86bdfe7 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -335,8 +335,7 @@ void Preprocessor::CreateString(const char *Buf, unsigned Len, Token &Tok, SourceLocation Loc = ScratchBuf->getToken(Buf, Len, DestPtr); if (ExpansionLoc.isValid()) - Loc = SourceMgr.createInstantiationLoc(Loc, ExpansionLoc, - ExpansionLoc, Len); + Loc = SourceMgr.createExpansionLoc(Loc, ExpansionLoc, ExpansionLoc, Len); Tok.setLocation(Loc); // If this is a raw identifier or a literal token, set the pointer data. |