================ @@ -332,6 +332,27 @@ effect on formatting a simple conversion diagnostic, follow: ``` t.c +3:11: warning: conversion specifies type 'char *' but the argument has type 'int' ``` + +- **sarif**: Emit diagnostics as a [SARIF](https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html) JSON + document. This is useful when diagnostics are consumed by tools, including AI + agents. SARIF diagnostics are written to standard error. ---------------- ebendler wrote:
Sorry, got stuck on the doc formatting changes and missed it here. https://github.com/llvm/llvm-project/pull/209519 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
