[clang] [clang] [diagnostics] Add `-fdiagnostics-add-output` switch for SARIF (PR #185201)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 9 04:10:07 PDT 2026


================
@@ -107,6 +107,9 @@ class DiagnosticOptions {
   /// The file to serialize diagnostics to (non-appending).
   std::string DiagnosticSerializationFile;
 
+  /// List of arguments to `-fdiagnostics-add-output=`
----------------
steakhal wrote:

```suggestion
  /// List of arguments to `-fdiagnostics-add-output=`.
```

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


More information about the cfe-commits mailing list