[clang-tools-extra] [clang-tidy] Enhance modernize-use-starts-ends-with to handle substr patterns (PR #116033)
Nicolas van Kempen via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 18 08:18:44 PST 2024
================
@@ -71,6 +71,17 @@ struct NotLengthExprForStringNode {
ASTContext *Context;
};
+static bool isNegativeComparison(const Expr *ComparisonExpr) {
----------------
nicovank wrote:
Nit: place above `NotLengthExprForStringNode` so `lengthExprForStringNode` and `NotLengthExprForStringNode` stay grouped.
https://github.com/llvm/llvm-project/pull/116033
More information about the cfe-commits
mailing list