[llvm-dev] [clang-tidy] where are "clang-diagnostic" checkers

zhaoyonggang via llvm-dev llvm-dev at lists.llvm.org
Sun Sep 27 04:30:55 PDT 2020


I have seen "clang-diagnostic-unreachable-code" when I use clang-tidy 7.0,  is it removed from latest clang-tidy?

> On Sep 27, 2020, at 6:27 PM, zhaoyonggang via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi, all,
> 
> 	I build clang-tidy by "ninja clang-tidy", but when I run below command, I get no checks. Where is the clang-diagnostic* checkers?  Thanks in advance.
> 
>> $ /Users/zyg/Documents/workspace/llvm-project/llvm/cmake-build-debug/bin/clang-tidy --checks="-*,clang-diagnostic-*" --list-checks
> No checks enabled.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list