diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-14 08:20:40 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-14 08:20:40 +0000 |
commit | 433db06b614f26dc6829e86d6ff469e2cca7d4f9 (patch) | |
tree | fe46de17506ec5a51930b623093df6ea081a54ea /lib/Parse/ParseExpr.cpp | |
parent | d0f5e443ceed37e1a72015bd109db8e5fc6206cf (diff) |
Convert terminology in the Lexer from 'instantiate' and variants to
'expand'. Also update the public API it provides to the new term, and
propagate that update to the various clients.
No functionality changed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index a4b275de13..fc64ae0226 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -310,7 +310,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) { SourceLocation FILoc = Tok.getLocation(); const char *FIText = ": "; const SourceManager &SM = PP.getSourceManager(); - if (FILoc.isFileID() || PP.isAtStartOfMacroInstantiation(FILoc)) { + if (FILoc.isFileID() || PP.isAtStartOfMacroExpansion(FILoc)) { FILoc = SM.getInstantiationLoc(FILoc); bool IsInvalid = false; const char *SourcePtr = |