================
@@ -15209,7 +15206,7 @@ static void collectLoopStmts(Stmt *AStmt, 
MutableArrayRef<Stmt *> LoopStmts) {
         LoopStmts[Cnt] = CurStmt;
         return false;
       });
-  assert(!is_contained(LoopStmts, nullptr) &&
+  assert(llvm::all_of(LoopStmts, [](Stmt *LoopStmt) { return LoopStmt; }) &&
----------------
alexey-bataev wrote:

restore

https://github.com/llvm/llvm-project/pull/92030
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to