toxcore/other/analysis/run-infer
iphydf f627a26a7b
Run Clang global static analysis on Travis.
This uses a single .cc file containing almost all the code in the
repository to perform whole program analysis.
2018-07-22 02:34:30 +00:00

9 lines
173 B
Bash
Executable File

#!/bin/sh
# Infer ignores everything that's not in the "current file".
SKIP_LINES=1
. other/analysis/gen-file.sh
infer -- clang++ -fsyntax-only amalgamation.cc $CPPFLAGS