[clang] [clang-tools-extra] [clang-tidy] Add SARIF output to clang-tidy (PR #219182)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 6 04:02:23 PST 2026
================
@@ -0,0 +1,302 @@
+// RUN: grep -Ev "// *[A-Z-]+:" %s > %t-input.cpp
----------------
matthew-j-code wrote:
The idea is to test that it correctly outputs SARIF diagnostics to stdout when --experimental-sarif-export=- is used. I've renamed the file, also updated the RUN line to correctly output it to stdout, before it was giving a false positive.
https://github.com/llvm/llvm-project/pull/219182
More information about the cfe-commits
mailing list