[clang-tools-extra] [clang-tidy] New option to remove arguments from the command line (PR #164344)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 26 12:14:08 PDT 2025


=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin,
=?utf-8?q?Félix-Antoine?= Constantin
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/164344 at github.com>


================
@@ -167,6 +167,9 @@ Improvements to clang-tidy
   scripts by adding the `-hide-progress` option to suppress progress and
   informational messages.
 
+- Improved :program:`clang-tidy` by adding the option `RemovedArgs` to remove
+  arguments sent to the compiler when invoking Clang-Tidy.
----------------
vbvictor wrote:

Let's mention `--remove-arg` option, as we usually say how `clang-tidy` CLI changed. And later mention that this option is added to config, run-clang-tidy and clang-tidy-diff too.

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


More information about the cfe-commits mailing list