summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2018-02-15 21:03:39 +0000
committerAaron Ballman <aaron@aaronballman.com>2018-02-15 21:03:39 +0000
commitf884cd42cc0d7d1a4522737e4af03feff017dd3a (patch)
tree1b58e6fa2429e7ead9a481e21af081fe125e85ce
parent6f20dc8988ebd034cbf52a225f5a363c2b30b645 (diff)
downloadbcm5719-llvm-f884cd42cc0d7d1a4522737e4af03feff017dd3a.tar.gz
bcm5719-llvm-f884cd42cc0d7d1a4522737e4af03feff017dd3a.zip
Silence a -Wparentheses warning; NFC.
llvm-svn: 325293
-rw-r--r--clang/lib/StaticAnalyzer/Core/CallEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/CallEvent.cpp b/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
index 034da172035..cb41f65e988 100644
--- a/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
+++ b/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
@@ -1197,7 +1197,7 @@ CallEventManager::getCaller(const StackFrameContext *CalleeCtx,
// destructors, though this could change in the future.
const CFGBlock *B = CalleeCtx->getCallSiteBlock();
CFGElement E = (*B)[CalleeCtx->getIndex()];
- assert(E.getAs<CFGImplicitDtor>() || E.getAs<CFGTemporaryDtor>() &&
+ assert((E.getAs<CFGImplicitDtor>() || E.getAs<CFGTemporaryDtor>()) &&
"All other CFG elements should have exprs");
SValBuilder &SVB = State->getStateManager().getSValBuilder();
OpenPOWER on IntegriCloud