FWIW I implemented SARIF output in GCC 13 which is viewable by e.g. VS Code (via a plugin) - though the ASCII art isn't.
You can see an example of the output here:
https://godbolt.org/z/aan6Kfxds
(that's the first example from the article, with -fdiagnostics-format=sarif-stderr added to the command-line options)
I experimented with SVG output for the diagrams, but didn't get this in good enough shape for GCC 14.
You can see an example of the output here: https://godbolt.org/z/aan6Kfxds (that's the first example from the article, with -fdiagnostics-format=sarif-stderr added to the command-line options)
I experimented with SVG output for the diagrams, but didn't get this in good enough shape for GCC 14.