summaryrefslogtreecommitdiff
path: root/src/analyze.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyze.sh')
-rwxr-xr-xsrc/analyze.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analyze.sh b/src/analyze.sh
new file mode 100755
index 0000000..042998f
--- /dev/null
+++ b/src/analyze.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+f="--analyze -Xanalyzer -analyzer-output=text -Wall -g3"
+make -k check CC=clang CXX=clang++ CFLAGS="$f" CXXFLAGS="$f"