forked from Green-Sky/tomato
16 lines
233 B
Plaintext
16 lines
233 B
Plaintext
|
#!/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
|