[PATCH] D19964: [scan-build] fix warnings emiited on LLVM Analysis code base

silviu.baranga@arm.com via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 07:10:44 PDT 2016


sbaranga added inline comments.

================
Comment at: lib/Analysis/LoopInfo.cpp:548
@@ -547,2 +547,3 @@
     }
+    assert(Unloop && "does not contain any loop");
     if (L != Unloop && Unloop->contains(L)) {
----------------
Would there be any reason to have this assert here and not at the top?


http://reviews.llvm.org/D19964





More information about the llvm-commits mailing list