From: NAKAMURA Takumi Date: Tue, 24 Sep 2013 04:37:50 +0000 (+0000) Subject: CGBuiltin.cpp: Prune a stray default: label. [-Wcovered-switch-default] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7b9a5a37fc9d1f6356afa14865129fb4a617932;p=clang CGBuiltin.cpp: Prune a stray default: label. [-Wcovered-switch-default] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191277 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index 8945ce3aaa..a08e545253 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/lib/CodeGen/CGBuiltin.cpp @@ -1609,8 +1609,6 @@ static llvm::VectorType *GetNeonType(CodeGenFunction *CGF, 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));