summaryrefslogtreecommitdiff
path: root/other/analysis/run-clang-analyze
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-07-17 01:18:04 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-07-22 02:34:30 +0000
commitf627a26a7b1c3619ba66f84b87092ff8ba7a95b6 (patch)
treec72c950fab473dc9bec4b5329d251b790e55443d /other/analysis/run-clang-analyze
parent7245ac11ef9be2420c8356c12acc79f93ea211bb (diff)
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.
Diffstat (limited to 'other/analysis/run-clang-analyze')
-rwxr-xr-xother/analysis/run-clang-analyze8
1 files changed, 8 insertions, 0 deletions
diff --git a/other/analysis/run-clang-analyze b/other/analysis/run-clang-analyze
new file mode 100755
index 00000000..0e6d9af0
--- /dev/null
+++ b/other/analysis/run-clang-analyze
@@ -0,0 +1,8 @@
1#!/bin/sh
2
3. other/analysis/gen-file.sh
4
5echo "Running Clang static analyzer"
6clang++ --analyze amalgamation.cc \
7 $CPPFLAGS \
8 -std=c++11