aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Lex/Lexer.cpp')
-rw-r--r--lib/Lex/Lexer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp
index f7937d5d70..fca8fd4eb1 100644
--- a/lib/Lex/Lexer.cpp
+++ b/lib/Lex/Lexer.cpp
@@ -556,11 +556,11 @@ FinishIdentifier:
// Fill in Result.IdentifierInfo, looking up the identifier in the
// identifier table.
- PP->LookUpIdentifierInfo(Result, IdStart);
+ IdentifierInfo *II = PP->LookUpIdentifierInfo(Result, IdStart);
// Finally, now that we know we have an identifier, pass this off to the
// preprocessor, which may macro expand it or something.
- if (Result.getIdentifierInfo()->isHandleIdentifierCase())
+ if (II->isHandleIdentifierCase())
PP->HandleIdentifier(Result);
return;
}