]> diplodocus.org Git - nmh/blob - tools/csa
Remove unused NCWD and NPWD #defines.
[nmh] / tools / csa
1 #!/bin/sh
2
3 # Run the clang static analyzer across the code base.
4 # The '--user-analyzer /usr/bin/clang' is here to work around a bug
5 # in the version of CSA for MacOS. It runs the wrong clang binary, otherwise.
6 #
7 # Note: you must run configure before running this script.
8
9 echo cleaning ...; make clean >/dev/null 2>&1
10 scan-build -V -v -stats -maxloop 10 --use-analyzer /usr/bin/clang -o /tmp/nmh make