summaryrefslogtreecommitdiff
path: root/projects/sample/Makefile.llvm.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 /projects/sample/Makefile.llvm.rules
parent9ca12d2e2f14b0b59c839943e58d8aa5d1a271cb (diff)
downloadllvm-33177f591a46e2a476fe8ab49f7055532b48fd40.tar.gz
llvm-33177f591a46e2a476fe8ab49f7055532b48fd40.tar.bz2
llvm-33177f591a46e2a476fe8ab49f7055532b48fd40.tar.xz
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 'projects/sample/Makefile.llvm.rules')
-rw-r--r--projects/sample/Makefile.llvm.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/sample/Makefile.llvm.rules b/projects/sample/Makefile.llvm.rules
index f496bd4bc6..7467d84fcd 100644
--- a/projects/sample/Makefile.llvm.rules
+++ b/projects/sample/Makefile.llvm.rules
@@ -571,7 +571,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