From e1a3c0955aa9eafff8f51bdee2add30d270cf7ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 23 Nov 2016 14:49:46 +0100 Subject: [PATCH] synthetic tests: Added run-clang.sh --- test/synthetic/run-clang.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 test/synthetic/run-clang.sh diff --git a/test/synthetic/run-clang.sh b/test/synthetic/run-clang.sh new file mode 100755 index 000000000..45fcac06b --- /dev/null +++ b/test/synthetic/run-clang.sh @@ -0,0 +1,3 @@ +~/llvm/build/bin/clang -cc1 -analyze -analyzer-checker=alpha.security controlflow.c data.c functions.c 2>&1 /dev/null | grep warning +~/llvm/build/bin/clang -cc1 -analyze -analyzer-checker=alpha.security,core ub.c 2>&1 /dev/null | grep warning +