r191277 - CGBuiltin.cpp: Prune a stray default: label. [-Wcovered-switch-default]

NAKAMURA Takumi geek4civic at gmail.com
Mon Sep 23 21:37:50 PDT 2013


Author: chapuni
Date: Mon Sep 23 23:37:50 2013
New Revision: 191277

URL: http://llvm.org/viewvc/llvm-project?rev=191277&view=rev
Log:
CGBuiltin.cpp: Prune a stray default: label. [-Wcovered-switch-default]

Modified:
    cfe/trunk/lib/CodeGen/CGBuiltin.cpp

Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=191277&r1=191276&r2=191277&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Mon Sep 23 23:37:50 2013
@@ -1609,8 +1609,6 @@ static llvm::VectorType *GetNeonType(Cod
                                      bool V1Ty=false) {
   int IsQuad = TypeFlags.isQuad();
   switch (TypeFlags.getEltType()) {
-  default:
-	llvm_unreachable("Invalid NeonTypeFlags element type!");
   case NeonTypeFlags::Int8:
   case NeonTypeFlags::Poly8:
     return llvm::VectorType::get(CGF->Int8Ty, V1Ty ? 1 : (8 << IsQuad));





More information about the cfe-commits mailing list