summaryrefslogtreecommitdiff
path: root/other/analysis/run-clang
diff options
context:
space:
mode:
Diffstat (limited to 'other/analysis/run-clang')
-rwxr-xr-xother/analysis/run-clang22
1 files changed, 19 insertions, 3 deletions
diff --git a/other/analysis/run-clang b/other/analysis/run-clang
index 1c8da7ea..60e59eab 100755
--- a/other/analysis/run-clang
+++ b/other/analysis/run-clang
@@ -2,6 +2,22 @@
2 2
3. other/analysis/gen-file.sh 3. other/analysis/gen-file.sh
4 4
5put auto_tests/lan_discovery_test.c 5echo "Running Clang compiler"
6 6clang++ -o /dev/null amalgamation.cc \
7clang --analyze test.c $CPPFLAGS 7 $CPPFLAGS \
8 $LDFLAGS \
9 -std=c++11 \
10 -Weverything \
11 -Wno-c++98-compat-pedantic \
12 -Wno-c99-extensions \
13 -Wno-cast-align \
14 -Wno-conversion \
15 -Wno-covered-switch-default \
16 -Wno-documentation-deprecated-sync \
17 -Wno-missing-field-initializers \
18 -Wno-old-style-cast \
19 -Wno-padded \
20 -Wno-sign-compare \
21 -Wno-unreachable-code-return \
22 -Wno-unused-parameter \
23 -Wno-used-but-marked-unused \