diff options
Diffstat (limited to 'Lex/PPExpressions.cpp')
-rw-r--r-- | Lex/PPExpressions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lex/PPExpressions.cpp b/Lex/PPExpressions.cpp index fb745068fd..e5f603f26e 100644 --- a/Lex/PPExpressions.cpp +++ b/Lex/PPExpressions.cpp @@ -105,7 +105,7 @@ static bool EvaluateValue(llvm::APSInt &Result, Token &PeekTok, // If there is a macro, mark it used. if (Result != 0 && ValueLive) { - MacroInfo *Macro = II->getMacroInfo(); + MacroInfo *Macro = PP.getMacroInfo(II); Macro->setIsUsed(true); // If this is the first use of a target-specific macro, warn about it. |