cppcheck/test/synthetic/run-clang.sh

5 lines
256 B
Bash
Raw Normal View History

#!/bin/bash
2016-11-23 14:49:46 +01:00
~/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