summaryrefslogtreecommitdiff
path: root/other/analysis/run-clang
blob: d1a5e4dcf6914653a52d6dd682e98f17bfd69a46 (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
#!/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-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		\