Author: Matthew Date: 2026-11-21T16:47:15-08:00 New Revision: 3cbaa7fcc8467ffc552ba82a551336005dac0925
URL: https://github.com/llvm/llvm-project/commit/3cbaa7fcc8467ffc552ba82a551336005dac0925 DIFF: https://github.com/llvm/llvm-project/commit/3cbaa7fcc8467ffc552ba82a551336005dac0925.diff LOG: [clang-tidy] Fix SARIF test missing '--' (#244927) [clang-tidy] Fix SARIF test missing '--' export-SARIF-diagnostics-macro-thread-flows.cpp was missing a "--" that caused this test to fail. Co-authored-by: Jones, Matthew (DI SW SIM FRWK PLAT SIMFW HPC) <[email protected]> Added: Modified: clang-tools-extra/test/clang-tidy/infrastructure/export-SARIF-diagnostics-macro-thread-flows.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/test/clang-tidy/infrastructure/export-SARIF-diagnostics-macro-thread-flows.cpp b/clang-tools-extra/test/clang-tidy/infrastructure/export-SARIF-diagnostics-macro-thread-flows.cpp index 1db2806a8db568..565b34536d314f 100644 --- a/clang-tools-extra/test/clang-tidy/infrastructure/export-SARIF-diagnostics-macro-thread-flows.cpp +++ b/clang-tools-extra/test/clang-tidy/infrastructure/export-SARIF-diagnostics-macro-thread-flows.cpp @@ -1,5 +1,5 @@ // RUN: grep -Ev "// *[A-Z-]+:" %s > %t-input.cpp -// RUN: clang-tidy %t-input.cpp -checks='-*,clang-analyzer-*' --experimental-sarif-export=%t.sarif > %t.msg 2>&1 +// RUN: clang-tidy %t-input.cpp -checks='-*,clang-analyzer-*' --experimental-sarif-export=%t.sarif -- > %t.msg 2>&1 // RUN: FileCheck -input-file=%t.msg -check-prefix=CHECK-MESSAGES %s -implicit-check-not='{{warning|error|note}}:' // RUN: FileCheck -input-file=%t.sarif -check-prefix=CHECK-SARIF %s #define DEREF(p) (*(p)) _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
