================ @@ -164,6 +165,24 @@ void UseRangesCheck::registerMatchers(MatchFinder *Finder) { static void removeFunctionArgs(DiagnosticBuilder &Diag, const CallExpr &Call, ArrayRef<unsigned> Indexes, const ASTContext &Ctx) { + const auto GetCommaLoc = [&](SourceLocation BeginLoc, + SourceLocation EndLoc) -> CharSourceRange { ---------------- vbvictor wrote:
This formatting look odd, could you please run `git clang-format` on your changes. Usually there is a job called "Check code formatting / code_formatter (pull_request)" that report such issues, but somehow you don't have it in your PR. https://github.com/llvm/llvm-project/pull/118568 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits