synthetic tests: Added run-clang.sh

This commit is contained in:
Daniel Marjamäki 2016-11-23 14:49:46 +01:00
parent 01e5f14bf8
commit e1a3c0955a
1 changed files with 3 additions and 0 deletions

3
test/synthetic/run-clang.sh Executable file
View File

@ -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