================ @@ -215,6 +215,16 @@ void UseRangesCheck::check(const MatchFinder::MatchResult &Result) { const auto *Call = Result.Nodes.getNodeAs<CallExpr>(Buffer); if (!Call) continue; + if (Function->getName() == "find") { + unsigned ValueArgIndex = 2; ---------------- PiotrZSL wrote:
```suggestion const unsigned ValueArgIndex = 2; ``` https://github.com/llvm/llvm-project/pull/127162 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits