r221998 - Silencing a -Wparentheses warning; NFC.

Aaron Ballman aaron at aaronballman.com
Fri Nov 14 06:40:49 PST 2014


Author: aaronballman
Date: Fri Nov 14 08:40:49 2014
New Revision: 221998

URL: http://llvm.org/viewvc/llvm-project?rev=221998&view=rev
Log:
Silencing a -Wparentheses warning; NFC.

Modified:
    cfe/trunk/lib/Lex/PPMacroExpansion.cpp

Modified: cfe/trunk/lib/Lex/PPMacroExpansion.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPMacroExpansion.cpp?rev=221998&r1=221997&r2=221998&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PPMacroExpansion.cpp (original)
+++ cfe/trunk/lib/Lex/PPMacroExpansion.cpp Fri Nov 14 08:40:49 2014
@@ -1400,7 +1400,7 @@ void Preprocessor::ExpandBuiltinMacro(To
           LexUnexpandedToken(Tok);
           // The first thing we read was not the feature, it was the scope.
           ScopeII = FeatureII;
-          if (FeatureII = Tok.getIdentifierInfo())
+          if ((FeatureII = Tok.getIdentifierInfo()))
             LexUnexpandedToken(Tok);
           else
             IsScopeValid = false;          





More information about the cfe-commits mailing list