[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
Tue Oct 21 08:16:32 PDT 2025


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


================
@@ -338,6 +342,7 @@ An overview of all the command-line options:
       WarningsAsErrors:    ''
       HeaderFileExtensions:         ['', 'h','hh','hpp','hxx']
       ImplementationFileExtensions: ['c','cc','cpp','cxx']
+      RemovedArgs: ['-Werror']
----------------
vbvictor wrote:

+1 I think RemoveArgs sounds better

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


More information about the cfe-commits mailing list