Catch up to clang changes.

This commit is contained in:
Emil Mikulic 2016-01-14 00:57:42 +11:00
parent ea93b88e62
commit 0ee2971740
2 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,8 @@ TARGET=$(dirname $0)/../darkhttpd.c
# Adjust to suit:
LLVM=$HOME/llvm
CHECKER=$LLVM/llvm/tools/clang/tools/scan-build/ccc-analyzer
$LLVM/llvm/tools/clang/tools/scan-build/scan-build \
$LLVM/llvm/tools/clang/tools/scan-build/bin/scan-build \
-analyze-headers \
--use-analyzer=$LLVM/install/bin/clang \
clang -DDEBUG $TARGET

View File

@ -9,5 +9,6 @@ LLVM=$HOME/llvm
$LLVM/install/bin/clang -Weverything -O \
-Wno-unreachable-code -Wno-padded -Wno-disabled-macro-expansion \
-Wno-reserved-id-macro \
-DDEBUG $TARGET
rm -f a.out