[clang] [clang] Make SARIF better handle diagnostic about unknown argument (PR #233241)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 18 09:55:20 PDT 2026


================
@@ -65,6 +65,13 @@
 
 // IGNORED: warning: unknown warning option '-Wunknown-to-clang-option'
 
+// RUN %clang -fdiagnostics-format=sarif -Wunknown-to-clang-option
----------------
Endilll wrote:

Exactly. Thank you for spotting this!

https://github.com/llvm/llvm-project/pull/233241


More information about the cfe-commits mailing list