diff options
Diffstat (limited to 'other/analysis/run-clang')
-rwxr-xr-x | other/analysis/run-clang | 22 |
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 | ||
5 | put auto_tests/lan_discovery_test.c | 5 | echo "Running Clang compiler" |
6 | 6 | clang++ -o /dev/null amalgamation.cc \ | |
7 | clang --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 \ | ||