[clang-tools-extra] [clang-tidy] New option to remove arguments from the command line (PR #164344)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 21 15:56:06 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
+ line sent to the compiler. Please note that
+ removing arguments from the command line
+ might lead to false positive or negatives.
----------------
localspook wrote:
Warning people about false positives and negatives makes sense, but I don't think we should be telling people to expect crashes; a crash is always a bug, it's not something users should ever expect, right?
https://github.com/llvm/llvm-project/pull/164344
More information about the cfe-commits
mailing list