[clang-tools-extra] [clang-tidy] add option to avoid "no checks enabled" error (PR #96122)

Danny Mösch via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 22 02:06:28 PDT 2024


================
@@ -125,6 +125,9 @@ Improvements to clang-tidy
 - Added argument `--exclude-header-filter` and config option `ExcludeHeaderFilterRegex`
   to exclude headers from analysis via a RegEx.
 
+- Added argument `--allow-no-checks` to suppress "no checks enabled" error
+  when disabling all of the checks.
----------------
SimplyDanny wrote:

Perhaps give a hint on what "disabling all checks" means in practice:
```suggestion
  when disabling all of the checks by `--checks='-*'`.
```

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


More information about the cfe-commits mailing list