[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 Nov 2 13:13:47 PST 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,
=?utf-8?q?Félix-Antoine?= Constantin
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/164344 at github.com>
================
@@ -0,0 +1,7 @@
+// RUN: not clang-tidy %s -- -fnot-an-option | FileCheck %s -check-prefix=INVALID-A
+// RUN: clang-tidy %s --config="{RemovedArgs: ['-fnot-an-option']}" -- -fnot-an-option
----------------
vbvictor wrote:
Can we add positive test with cli argument `--removed-arg`
https://github.com/llvm/llvm-project/pull/164344
More information about the cfe-commits
mailing list