diff options
Diffstat (limited to 'clang/lib/Lex')
| -rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index a682e86d146..7e695a542b0 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -335,7 +335,7 @@ MacroArgs *Preprocessor::ReadFunctionLikeMacroArgs(Token &MacroName,          // If this is a comment token in the argument list and we're just in          // -C mode (not -CC mode), discard the comment.          continue; -      } else if (Tok.is(tok::identifier)) { +      } else if (Tok.getIdentifierInfo() != 0) {          // Reading macro arguments can cause macros that we are currently          // expanding from to be popped off the expansion stack.  Doing so causes          // them to be reenabled for expansion.  Here we record whether any | 

