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