From f3fe0c095511667bfc75d002452db4f2d10040dd Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 15 Feb 2018 21:03:39 +0000 Subject: [PATCH] Silence a -Wparentheses warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325293 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Core/CallEvent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/StaticAnalyzer/Core/CallEvent.cpp b/lib/StaticAnalyzer/Core/CallEvent.cpp index 034da17203..cb41f65e98 100644 --- a/lib/StaticAnalyzer/Core/CallEvent.cpp +++ b/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() || E.getAs() && + assert((E.getAs() || E.getAs()) && "All other CFG elements should have exprs"); SValBuilder &SVB = State->getStateManager().getSValBuilder(); -- 2.40.0