Files
llvm/clang/docs
anonymous 57607e2b51 [Clang][Diagnose] Minimal support on emit-include-location in sarif mode (#170415)
Currently, invoking `clang++` with `-fdiagnostics-format=sarif` causes a
crash, with stack traces indicating that
`SARIFDiagnostic::emitIncludeLocation` is unimplemented.

This PR adds minimal support for converting `In file included from ...`
and `In module ...` into `SARIF.result.relatedLocations`. With this
change, `clang++ -fdiagnostics-format=sarif` no longer crashes and now
provides a minimal amount of useful information.

Thank you.
2025-12-08 13:05:25 -05:00
..
2025-11-07 08:57:18 -08:00
2025-12-02 08:16:42 -05:00