[cfe-dev] Clang Checkers

Thomas Hauth Thomas.Hauth at cern.ch
Fri Jun 1 07:13:09 PDT 2012

Hi Umesh,
the list you get via "-analyzer-checker-help" contains the list of 
checkers which are registered in clang. Which checkers are run by 
default is not defined here. You can run the "scan-build" command in 
clang/tools/scan-build without arguments and it will output the list of 
checkers + if they are enabled by default. One Note: There was a bug in 
scan-build, recently fixed in svn, which did not list all enabled 
checkers correctly.

Hope this helped,

On 06/01/2012 01:54 PM, Umesh Kalappa wrote:
> Hi Ted and Others ,
> We we use the switch "--analyze" for clang ,Did all checkers that were
> pop up from the command "clang -cc1 -analyzer-checker-help" where
> enabled by default or some are ????
> Any documents which says about this ,FYI we referred the information @
> http://clang-analyzer.llvm.org/checker_dev_manual.html,But unlucky we
> couldn't find any points w.r.t default checkers.
> Thanks
> ~Umesh
> This body part will be downloaded on demand.

More information about the cfe-dev mailing list