[clang-tools-extra] [clang-tidy] Return error code on config parse error (PR #136167)

Galen Elias via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 30 15:24:35 PDT 2025


================
@@ -337,8 +337,7 @@ Allow empty enabled checks. This suppresses
 the "no checks enabled" error when disabling
 all of the checks.
 )"),
-                                         cl::init(false),
-                                         cl::cat(ClangTidyCategory));
+                                   cl::init(false), cl::cat(ClangTidyCategory));
----------------
galenelias wrote:

Oops, sorry.  It would be nice if the files were 'clang-format clean' as I am used to a flow where I can just run `clang-format -i` on all my modified files to ensure I'm following the formatting guidelines.  That is unfortunately not the case here.

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


More information about the cfe-commits mailing list