1 clang scan build
akallabeth edited this page 2013-08-29 04:10:10 -07:00
  • 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>