================
@@ -192,6 +192,9 @@ An overview of all the command-line options:
--export-fixes=<filename> - YAML file to store suggested fixes in.
The
stored fixes can be applied to the
input source
code with clang-apply-replacements.
+ --sarif-export=<filename> - File in which to store diagnostics in
SARIF format.
+ Use '-' to write to stdout instead of
the usual
+ diagnostic output.
----------------
vbvictor wrote:
previous name had `export` as first word.
I suggest we stick to current design and write `--export-sarif`. Otherwise it's
awkward to write `export-fixes` but `sarif-export`.
https://github.com/llvm/llvm-project/pull/219182
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits