[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
Wed Oct 22 07:15:50 PDT 2025


=?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>


================
@@ -329,6 +329,10 @@ An overview of all the command-line options:
                                    example, to place the correct user name in
                                    TODO() comments in the relevant check.
     WarningsAsErrors             - Same as '--warnings-as-errors'.
+    RemovedArgs                  - List of arguments to remove from the command
----------------
vbvictor wrote:

Would It be a lot harder to also add cli-option `--remove-arg` to be consistent with 
```
    ExtraArgs                    - Same as '--extra-arg'.
    ExtraArgsBefore              - Same as '--extra-arg-before'.
```

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


More information about the cfe-commits mailing list