Skip to content

Commit f884cd4

Browse files
committed
Silence a -Wparentheses warning; NFC.
llvm-svn: 325293
1 parent 6f20dc8 commit f884cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Core/CallEvent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ CallEventManager::getCaller(const StackFrameContext *CalleeCtx,
11971197
// destructors, though this could change in the future.
11981198
const CFGBlock *B = CalleeCtx->getCallSiteBlock();
11991199
CFGElement E = (*B)[CalleeCtx->getIndex()];
1200-
assert(E.getAs<CFGImplicitDtor>() || E.getAs<CFGTemporaryDtor>() &&
1200+
assert((E.getAs<CFGImplicitDtor>() || E.getAs<CFGTemporaryDtor>()) &&
12011201
"All other CFG elements should have exprs");
12021202

12031203
SValBuilder &SVB = State->getStateManager().getSValBuilder();

0 commit comments

Comments
 (0)