diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-29 07:26:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-29 07:26:48 +0000 |
commit | 07560ed0cfc8e6499bfbb957f6bb63dc455c4475 (patch) | |
tree | c29acbee47ad9766994e44626fd018f4fa83f946 /clang/Lex/MacroExpander.cpp | |
parent | 2641bd549cb1dc06bb7be86beae3789a1e8a965a (diff) | |
download | bcm5719-llvm-07560ed0cfc8e6499bfbb957f6bb63dc455c4475.tar.gz bcm5719-llvm-07560ed0cfc8e6499bfbb957f6bb63dc455c4475.zip |
Fix precedence bug
llvm-svn: 38793
Diffstat (limited to 'clang/Lex/MacroExpander.cpp')
-rw-r--r-- | clang/Lex/MacroExpander.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Lex/MacroExpander.cpp b/clang/Lex/MacroExpander.cpp index e7ace59e17f..cdf148ca648 100644 --- a/clang/Lex/MacroExpander.cpp +++ b/clang/Lex/MacroExpander.cpp @@ -246,7 +246,7 @@ MacroExpander::MacroExpander(LexerToken &Tok, MacroArgs *Actuals, // If this is a function-like macro, expand the arguments and change // MacroTokens to point to the expanded tokens. - if (Macro->isFunctionLike() && Macro->getNumArgs() || Macro->isC99Varargs()) + if (Macro->isFunctionLike() && (Macro->getNumArgs() || Macro->isC99Varargs())) ExpandFunctionArguments(); // Mark the macro as currently disabled, so that it is not recursively |