From 8689f3429dd8f073083c1522a8d33b4376650cbb Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Fri, 13 Jul 2018 14:41:15 +0000 Subject: [PATCH] [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 --- lib/IR/DomTreeUpdater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.50.1