[clang-tools-extra] [clang-tidy][NFC] Apply const-correctness for auto 1/N (PR #213839)

Björn Pettersson via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 12 04:15:04 PDT 2026


================
@@ -187,7 +188,7 @@ class ErrorReporter {
       }
       reportFix(Diag, Error.Message.Fix);
     }
-    for (auto Fix : FixLocations) {
+    for (const auto Fix : FixLocations) {
----------------
bjope wrote:

Created a PR here: https://github.com/llvm/llvm-project/pull/215775

https://github.com/llvm/llvm-project/pull/213839


More information about the cfe-commits mailing list