[clang-tools-extra] [clang-tidy] Improve readability-use-anyofallof with Fix-Its and none_of (PR #182065)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 21 11:51:22 PST 2026
================
@@ -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
More information about the cfe-commits
mailing list