[llvm-dev] How to print what -Wall represents?
Fāng-ruì Sòng via llvm-dev
llvm-dev at lists.llvm.org
Sun Mar 28 19:33:41 PDT 2021
On Sun, Mar 28, 2021 at 2:00 PM Peng Yu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi,
>
> gcc -Wall -Q --help=warnings | grep enabled
>
> gcc allows this to print what -Wall represents.
>
> Is there a way to do the same in clang? Thanks.
>
> --
> Regards,
> Peng
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
diagtool show-enabled a.c
diagtool is a tool in clang-tools-extra. On Debian (I think) it is packaged
in clang-tools.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210328/f3afc671/attachment.html>
More information about the llvm-dev
mailing list