[cfe-dev] ../llvm/tools/clang/tools/scan-build/c++-analyzer ?

Ted Kremenek kremenek at apple.com
Sat Jan 5 16:52:55 PST 2013


You should never use that command directly. Ever.  It is an implementation detail of scan-build.

You can analyze a single file using scan-build, or analyze an entire build.  Details can be found at the clang-analyzer.llvm.org website.

When you run scan-build without any options, it will list the available checkers and which ones get run by default.  There are command-line options to scan-build that allow you to enable or disable various checkers.  All of the details can be found on the website, or by just running scan-build directly.

Cheers,
Ted

On Jan 5, 2013, at 12:15 PM, Эдик Бондаренко <ed_soon at bk.ru> wrote:

> If i use command - `../llvm/tools/clang/tools/scan-build/c++-analyzer test.cpp`, I am using all available checkers ?
> llvm and clang checkout from svn. 
> Thx. 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list