llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-tools-extra Author: Matthew (matthew-j-code) <details> <summary>Changes</summary> [clang-tidy] Fix SARIF test missing '--' export-SARIF-diagnostics-macro-thread-flows.cpp was missing a "--" that caused this test to fail. --- Full diff: https://github.com/llvm/llvm-project/pull/244927.diff 1 Files Affected: - (modified) clang-tools-extra/test/clang-tidy/infrastructure/export-SARIF-diagnostics-macro-thread-flows.cpp (+1-1) ``````````diff 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)) `````````` </details> https://github.com/llvm/llvm-project/pull/244927 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
