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

Do you mean to say `RUN:` with a colon and pass `-S %s -o %t.s` here so that 
you can verify that `%clang` at least accepts the option without crashing even 
though we cannot check the diagnostic output yet?
```suggestion
// RUN: %clang -S %s -o %t.s -fdiagnostics-format=sarif 
-Wunknown-to-clang-option
```


https://github.com/llvm/llvm-project/pull/233241
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to