Pacify a gcc -Wparentheses warning
authorHans Wennborg <hans@hanshq.net>
Wed, 20 Sep 2017 18:00:02 +0000 (18:00 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 20 Sep 2017 18:00:02 +0000 (18:00 +0000)
llvm-svn: 313780

llvm/include/llvm/Transforms/Scalar/LoopPassManager.h

index 3da006f..872372a 100644 (file)
@@ -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;
   }