[cfe-commits] r159829 - /cfe/trunk/lib/Basic/Targets.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Jul 6 08:27:26 PDT 2012


Author: d0k
Date: Fri Jul  6 10:27:25 2012
New Revision: 159829

URL: http://llvm.org/viewvc/llvm-project?rev=159829&view=rev
Log:
Remove unreachable default case to pacify clang's -Wcovered-switch-default.

Modified:
    cfe/trunk/lib/Basic/Targets.cpp

Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=159829&r1=159828&r2=159829&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Fri Jul  6 10:27:25 2012
@@ -3636,7 +3636,6 @@
   virtual void getArchDefines(const LangOptions &Opts,
                               MacroBuilder &Builder) const {
     switch (FloatABI) {
-    default:
     case HardFloat:
       Builder.defineMacro("__mips_hard_float", Twine(1));
       break;





More information about the cfe-commits mailing list