- Notifications
You must be signed in to change notification settings - Fork15.2k
clang scan build
akallabeth edited this pageAug 29, 2013 ·1 revision
- Set compiler
export CC=<path-to>/ccc-analyzer - Generate makefiles
cmake -H<source-dir> -B<build-dir> - Run the scan-build
scan-build --use-analyzer=<path-to>/clang make - Analyze the build
scan-view <output-file>