aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-02-28 02:01:55 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-02-28 02:01:55 +0000
commit33177f591a46e2a476fe8ab49f7055532b48fd40 (patch)
tree71cc9c3d00c6f7a809f35bfe891a0cb2dbfcccc8 /Makefile.rules
parent9ca12d2e2f14b0b59c839943e58d8aa5d1a271cb (diff)
Enable -Wcovered-switch-default as it matches the switch style used in llvm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index a1edb6b7dd..a56f26edb3 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -650,7 +650,7 @@ ifndef NO_PEDANTIC
CompileCommonOpts += -pedantic -Wno-long-long
endif
CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
- $(EXTRA_OPTIONS)
+ $(EXTRA_OPTIONS) $(COVERED_SWITCH_DEFAULT)
# Enable cast-qual for C++; the workaround is to use const_cast.
CXX.Flags += -Wcast-qual