[PATCH] D129886: [clang] Add -fdiagnostics-format=sarif option for future SARIF output

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 11:17:10 PDT 2022


aaron.ballman added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4009-4011
+    if (StringRef(A->getValue()) == "sarif") {
+      D.Diag(diag::warn_drv_sarif_format_unstable);
+    }
----------------
Do we want to be kind to people who spell it SARIF (given that it's an acronym, some folks may spell it that way reflexively)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129886/new/

https://reviews.llvm.org/D129886



More information about the cfe-commits mailing list