toxcore/other/analysis/run-clang-analyze
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
143 B
Bash
Executable File

#!/bin/sh
. other/analysis/gen-file.sh
echo "Running Clang static analyzer"
clang++ --analyze amalgamation.cc \
$CPPFLAGS \
-std=c++11