forked from Green-Sky/tomato
Green Sky
227425b90e
git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
16 lines
233 B
Bash
Executable File
16 lines
233 B
Bash
Executable File
#!/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
|