From: Aaron Ballman Date: Fri, 14 Nov 2014 14:40:49 +0000 (+0000) Subject: Silencing a -Wparentheses warning; NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72ef63a1ba961a7d66a20a4dee481178995663ce;p=clang Silencing a -Wparentheses warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221998 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Lex/PPMacroExpansion.cpp b/lib/Lex/PPMacroExpansion.cpp index 225a3fafd3..1100dcaa33 100644 --- a/lib/Lex/PPMacroExpansion.cpp +++ b/lib/Lex/PPMacroExpansion.cpp @@ -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;