toxcore/other/analysis/run-infer
iphydf c1a2ea3309
Use bash arrays instead of strings for static analysis scripts.
These are more robust wrt. spaces in names.
2020-05-05 01:53:01 +01:00

9 lines
182 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 -- clang++ -fsyntax-only amalgamation.cc "${CPPFLAGS[@]}"