From ffbc4c2b0840dae3e50734989dc617a843971519 Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Sat, 15 Jan 2011 20:56:30 +1100 Subject: [PATCH] For developers: script to run through clang static analyzer. --- devel/checker | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 devel/checker diff --git a/devel/checker b/devel/checker new file mode 100755 index 0000000..76adc6e --- /dev/null +++ b/devel/checker @@ -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