tomato-testing/other/analysis/run-clang-analyze

16 lines
233 B
Plaintext
Raw Normal View History

#!/bin/bash
. other/analysis/gen-file.sh
set -e
run() {
echo "Running Clang static analyzer in variant '$*'"
clang++ --analyze amalgamation.cc \
"${CPPFLAGS[@]}" \
"$@" \
-std=c++11
}
. other/analysis/variants.sh