================
@@ -84,20 +136,177 @@ static bool isViableLoop(const CXXForRangeStmt &S, 
ASTContext &Context) {
   });
 }
 
+static const IfStmt *getSingleIfInLoopBody(const CXXForRangeStmt &Loop) {
----------------
vbvictor wrote:

Why so much new code? Do we actually need all of it?
I was expecting that we tweak a couple of `if`'s here and there for `none_of` 
support.

https://github.com/llvm/llvm-project/pull/182065
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to