toxcore/other/analysis/run-infer
iphydf d930ecca4c
chore: Run infer static analyser on circle ci builds.
Also running some other analysis that we used to have on Travis.
2021-12-06 20:25:50 +00:00

9 lines
200 B
Bash
Executable File

#!/bin/bash
# Infer ignores everything that's not in the "current file".
SKIP_LINES=1
. other/analysis/gen-file.sh
infer --no-progress-bar -- clang++ -fsyntax-only amalgamation.cc "${CPPFLAGS[@]}"