summaryrefslogtreecommitdiffstats
path: root/clang/Lex/PPExpressions.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-04 17:53:21 +0000
committerChris Lattner <sabre@nondot.org>2006-07-04 17:53:21 +0000
commitc79f6fb108d2de31832e76993aa50fd71ca0783c (patch)
treeca6c46db1d275283b097b0c8d66dedab193c2244 /clang/Lex/PPExpressions.cpp
parenta8654ca2cf9e455feac1157cbee13f4e19022fbd (diff)
downloadbcm5719-llvm-c79f6fb108d2de31832e76993aa50fd71ca0783c.tar.gz
bcm5719-llvm-c79f6fb108d2de31832e76993aa50fd71ca0783c.zip
Rename IdentifierTokenInfo -> IdentifierInfo.
llvm-svn: 38650
Diffstat (limited to 'clang/Lex/PPExpressions.cpp')
-rw-r--r--clang/Lex/PPExpressions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/Lex/PPExpressions.cpp b/clang/Lex/PPExpressions.cpp
index 979cb171106..393b780eed7 100644
--- a/clang/Lex/PPExpressions.cpp
+++ b/clang/Lex/PPExpressions.cpp
@@ -29,7 +29,7 @@ using namespace clang;
/// may occur after a #if or #elif directive. If the
/// expression is equivalent to "!defined(X)" return X in IfNDefMacro.
bool Preprocessor::
-EvaluateDirectiveExpression(IdentifierTokenInfo *&IfNDefMacro) {
+EvaluateDirectiveExpression(IdentifierInfo *&IfNDefMacro) {
// Peek ahead one token.
LexerToken Tok;
Lex(Tok);
@@ -62,7 +62,7 @@ bool Preprocessor::EvaluateValue(int &Result, LexerToken &PeekTok) {
// If this token's spelling is a pp-identifier, check to see if it is
// 'defined' or if it is a macro. Note that we check here because many
// keywords are pp-identifiers, so we can't check the kind.
- if (const IdentifierTokenInfo *II = PeekTok.getIdentifierInfo()) {
+ if (const IdentifierInfo *II = PeekTok.getIdentifierInfo()) {
// If this identifier isn't 'defined' and it wasn't macro expanded, it turns
// into a simple 0.
if (strcmp(II->getName(), "defined")) {
OpenPOWER on IntegriCloud