]> granicus.if.org Git - clang/commitdiff
Silencing a -Wparentheses warning; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Fri, 14 Nov 2014 14:40:49 +0000 (14:40 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 14 Nov 2014 14:40:49 +0000 (14:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221998 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/PPMacroExpansion.cpp

index 225a3fafd3c65ba961f4b927818399dbb24dc51d..1100dcaa335849143ba3a92a1c84fec4702ae1f5 100644 (file)
@@ -1400,7 +1400,7 @@ void Preprocessor::ExpandBuiltinMacro(Token &Tok) {
           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;