Catch up to clang changes.
authorEmil Mikulic <emikulic@gmail.com>
Wed, 13 Jan 2016 13:57:42 +0000 (00:57 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Wed, 13 Jan 2016 13:57:42 +0000 (00:57 +1100)
devel/checker
devel/clang-warns

index fd3b919..b727bb7 100755 (executable)
@@ -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
index 41bcea8..68ad0e3 100755 (executable)
@@ -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