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

Nathan James via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 29 15:17:05 PDT 2020


Hi,

clang-diagnostic* doesn't refer to a group of checkers, they refer to
diagnostics emitted by clang during parsing and sema. 

If you want a full list of checks available you can run
`clang-tidy --checks=* --list-checks`

~Nathan
On Sun, 2020-09-27 at 18:27 +0800, zhaoyonggang via llvm-dev 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