diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-28 02:01:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-02-28 02:01:55 +0000 |
commit | 33177f591a46e2a476fe8ab49f7055532b48fd40 (patch) | |
tree | 71cc9c3d00c6f7a809f35bfe891a0cb2dbfcccc8 /Makefile.rules | |
parent | 9ca12d2e2f14b0b59c839943e58d8aa5d1a271cb (diff) | |
download | external_llvm-33177f591a46e2a476fe8ab49f7055532b48fd40.zip external_llvm-33177f591a46e2a476fe8ab49f7055532b48fd40.tar.gz external_llvm-33177f591a46e2a476fe8ab49f7055532b48fd40.tar.bz2 |
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.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index a1edb6b..a56f26e 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 |