summaryrefslogtreecommitdiff
path: root/other/analysis/run-clang
blob: fbb0d427fc3d0a0998105d9d7ca773982bd6da78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

. other/analysis/gen-file.sh

echo "Running Clang compiler"
clang++ -o /dev/null amalgamation.cc		\
	$CPPFLAGS				\
	$LDFLAGS				\
	-std=c++11				\
	-Werror					\
	-Weverything				\
	-Wno-c++98-compat-pedantic		\
	-Wno-c99-extensions			\
	-Wno-cast-align				\
	-Wno-conversion				\
	-Wno-covered-switch-default		\
	-Wno-disabled-macro-expansion		\
	-Wno-documentation-deprecated-sync	\
	-Wno-missing-field-initializers		\
	-Wno-old-style-cast			\
	-Wno-padded				\
	-Wno-sign-compare			\
	-Wno-unreachable-code-return		\
	-Wno-unused-parameter			\
	-Wno-used-but-marked-unused		\