summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPMacroExpansion.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-11-14 14:40:49 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-11-14 14:40:49 +0000
commit918474c7f913cfbdef0d2bb23ad46134a78789f2 (patch)
tree56d104278ee0f6dba9a31930c53d4e0911e7ee77 /clang/lib/Lex/PPMacroExpansion.cpp
parent4d280027286dd36656469dd909d5e292ba125ad0 (diff)
downloadbcm5719-llvm-918474c7f913cfbdef0d2bb23ad46134a78789f2.tar.gz
bcm5719-llvm-918474c7f913cfbdef0d2bb23ad46134a78789f2.zip
Silencing a -Wparentheses warning; NFC.
llvm-svn: 221998
Diffstat (limited to 'clang/lib/Lex/PPMacroExpansion.cpp')
-rw-r--r--clang/lib/Lex/PPMacroExpansion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp
index 225a3fafd3c..1100dcaa335 100644
--- a/clang/lib/Lex/PPMacroExpansion.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud