================
@@ -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.
----------------
steakhal wrote:

Please drop the AI stuff. The documentation is written for humans.
I think I've pointed this out once but because you force pushed and closed my 
comments I couldn't find that.
Because of this I'd recommend 3 actions:
- Drop the AI stuff.
- Do not force push. Just add one more commit to the branch and if you need to 
fetch from main, merge main into your branch.
- Do not close threads that was opened by someone else. This leaves the 
commenter to verify the claims that it was addressed appropriately.

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

Reply via email to