[clang] [clang-tools-extra] [clang-tidy] Add SARIF output to clang-tidy (PR #219182)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 7 05:24:26 PDT 2026


================

----------------
zeyi2 wrote:

One question about the scope of the export: should it include the notes emitted while applying fixes?

With `-fix` on `struct A { A(int) {} };`, the text output includes `FIX-IT applied suggested code changes`, but the SARIF result has no corresponding note. These notes are emitted above, whereas `exportSarifResult()` only uses `Error.Notes`.

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


More information about the cfe-commits mailing list