From: Hans Wennborg Date: Wed, 20 Sep 2017 18:00:02 +0000 (+0000) Subject: Pacify a gcc -Wparentheses warning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a05035fb98184932584b076431e184c1a352738;p=llvm Pacify a gcc -Wparentheses warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313780 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Scalar/LoopPassManager.h b/include/llvm/Transforms/Scalar/LoopPassManager.h index 3da006f4d5c..872372a7480 100644 --- a/include/llvm/Transforms/Scalar/LoopPassManager.h +++ b/include/llvm/Transforms/Scalar/LoopPassManager.h @@ -166,9 +166,9 @@ public: /// the rest of the pass management infrastructure. void markLoopAsDeleted(Loop &L) { LAM.clear(L); - assert(&L == CurrentL || - CurrentL->contains(&L) && "Cannot delete a loop outside of the " - "subloop tree currently being processed."); + assert((&L == CurrentL || CurrentL->contains(&L)) && + "Cannot delete a loop outside of the " + "subloop tree currently being processed."); if (&L == CurrentL) SkipCurrentLoop = true; }