For developers: script to run through clang static analyzer.

This commit is contained in:
Emil Mikulic 2011-01-15 20:56:30 +11:00
parent dbe886b9d2
commit ffbc4c2b08

12
devel/checker Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
#
# Run through the clang static analyzer
#
# Adjust to suit:
LLVM=$HOME/llvm
CHECKER=$LLVM/llvm/tools/clang/tools/scan-build/ccc-analyzer
env PATH=$LLVM/build/Release/bin:$PATH $CHECKER ../darkhttpd.c
rm -f a.out