[PATCH] D126796: [clang][driver] adds `-print-diagnostics`

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 12:52:05 PDT 2022


MaskRay added a comment.

In D126796#3551261 <https://reviews.llvm.org/D126796#3551261>, @cjdb wrote:

> In D126796#3550848 <https://reviews.llvm.org/D126796#3550848>, @MaskRay wrote:
>
>> FYI `diagtool tree` dumps the diagnostics. You can even provide -W options and observe the differences.
>
> Is `diagtool tree` something that users widely know about?

I think no. But any random new option to clang will have the same discoverability problem.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126796



More information about the cfe-commits mailing list