[Lldb-commits] [PATCH] D138939: [WIP][clang] adds a way to provide user-oriented reasons

Christopher Di Bella via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 2 09:28:18 PST 2022


cjdb added a comment.

In D138939#3965985 <https://reviews.llvm.org/D138939#3965985>, @tschuett wrote:

> Then Sarif was a distraction. Still to reduce boilerplate and for A/B testing:
>
>   enum class DiagnosticMode {
>     Legacy,
>     UserOriented,
>     Default = Legacy
>   }

It took a fair bit of squinting and coffee, but I think I get it now. Having SARIF will be good for option 2: I hadn't realised this was at the Clang API level and not an enum for users to toggle on the command line! Thanks for your patience, I'll implement this now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138939/new/

https://reviews.llvm.org/D138939



More information about the lldb-commits mailing list