Mark cppcheck executable.
[darkhttpd] / devel / checker
1 #!/bin/sh
2 #
3 # Run through the clang static analyzer.
4 #
5 TARGET=$(dirname $0)/../darkhttpd.c
6
7 # Adjust to suit:
8 LLVM=$HOME/llvm
9 CHECKER=$LLVM/llvm/tools/clang/tools/scan-build/ccc-analyzer
10
11 $LLVM/llvm/tools/clang/tools/scan-build/scan-build \
12   -analyze-headers \
13   --use-analyzer=$LLVM/install/bin/clang \
14   clang $TARGET