r254208 - Fixed default label in fully covered switch warning that was introduced in r254203.
Daniel Sanders via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 27 11:49:24 PST 2015
Author: dsanders
Date: Fri Nov 27 13:49:24 2015
New Revision: 254208
URL: http://llvm.org/viewvc/llvm-project?rev=254208&view=rev
Log:
Fixed default label in fully covered switch warning that was introduced in r254203.
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=254208&r1=254207&r2=254208&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Fri Nov 27 13:49:24 2015
@@ -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;
More information about the cfe-commits
mailing list