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

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