From: Daniel Sanders Date: Fri, 27 Nov 2015 19:49:24 +0000 (+0000) Subject: Fixed default label in fully covered switch warning that was introduced in r254203. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff742a73b5645ab041f53efa51dbd24701a33f96;p=clang Fixed default label in fully covered switch warning that was introduced in r254203. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254208 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index df081b4fb9..fe98854897 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -5900,7 +5900,6 @@ public: const char *Kind; switch (Attr->getInterrupt()) { - default: llvm_unreachable("Unknown Mips interrupt attribute type!"); case MipsInterruptAttr::eic: Kind = "eic"; break; case MipsInterruptAttr::sw0: Kind = "sw0"; break; case MipsInterruptAttr::sw1: Kind = "sw1"; break;