[clang] [clang-tools-extra] [compiler-rt] [lld] [llvm] [NFC] Fix tests with invalid RUN directives (PR #179668)

Vladimir Vuksanovic via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 05:13:49 PST 2026


================
@@ -14,10 +14,6 @@
 // NO-DEBUG-NOT: debug-info-kind
 // NO-DEBUG-NOT: dwarf
 
-//// Help hidden: flag should not be visible.
-// RUN: %clang --help | FileCheck %s --check-prefix=HELP
-// HELP-NOT: key-instructions
----------------
vvuksanovic wrote:

The option was added to `--help` at some point, and a testcase added a few lines up in the same file. This was probably meant to be removed then. It still passes because the new test case uses the same check prefix and moves the cursor so this `HELP-NOT` doesn't find the flag again.

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


More information about the llvm-commits mailing list