[clang-tools-extra] [clang-tidy][NFC] Fix misc-const-correctness warnings (1/N) (PR #167030)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 8 03:04:41 PST 2025


================
@@ -353,7 +356,8 @@ ClangTidyASTConsumerFactory::ClangTidyASTConsumerFactory(
   if (Context.canExperimentalCustomChecks() && custom::RegisterCustomChecks)
     custom::RegisterCustomChecks(Context.getOptions(), *CheckFactories);
 #endif
-  for (ClangTidyModuleRegistry::entry E : ClangTidyModuleRegistry::entries()) {
+  for (ClangTidyModuleRegistry::entry const E :
----------------
vbvictor wrote:

It was issue of clang-format-21: https://github.com/llvm/llvm-project/issues/167121
Now I ran clang-format-22: https://github.com/llvm/llvm-project/pull/167122

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


More information about the cfe-commits mailing list