scan-build is an optional component provided by Clang. It may not be installed with clang by default.

The Clang Static Analyzer can be ran like:

scan-build --keep-going -v -o scan-build make

This will run the make command using wrappers for the Clang Static Analyzer. It will keep running if hits errors. The output will be generated as HTML webpages under the scan-build directory.

If the scan-build directory exists when completed then the analyzer has some issues to report.

The build farm's automated reports for this are under

Last modified 5 years ago Last modified on Jun 19, 2013, 10:02:12 PM