From: Erich Keane Date: Fri, 13 Jul 2018 14:41:15 +0000 (+0000) Subject: [NFC] Silence Wparentheses warning in DomTreeUpdater, introduced by 336968 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8689f3429dd8f073083c1522a8d33b4376650cbb;p=llvm [NFC] Silence Wparentheses warning in DomTreeUpdater, introduced by 336968 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337001 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/IR/DomTreeUpdater.cpp b/lib/IR/DomTreeUpdater.cpp index 51dd24bccfa..9af22b16224 100644 --- a/lib/IR/DomTreeUpdater.cpp +++ b/lib/IR/DomTreeUpdater.cpp @@ -56,8 +56,8 @@ bool DomTreeUpdater::isSelfDominance( bool DomTreeUpdater::applyLazyUpdate(DominatorTree::UpdateKind Kind, BasicBlock *From, BasicBlock *To) { - assert(DT || - PDT && "Call applyLazyUpdate() when both DT and PDT are nullptrs."); + assert((DT || PDT) && + "Call applyLazyUpdate() when both DT and PDT are nullptrs."); assert(Strategy == DomTreeUpdater::UpdateStrategy::Lazy && "Call applyLazyUpdate() with Eager strategy error"); // Analyze pending updates to determine if the update is unnecessary.