forked from OSchip/llvm-project
Move default case for covered enum outside of switch.
llvm-svn: 147870
This commit is contained in:
parent
d5ab02600e
commit
ad5b42c02f
|
@ -67,7 +67,6 @@ namespace ARMCC {
|
|||
|
||||
inline static const char *ARMCondCodeToString(ARMCC::CondCodes CC) {
|
||||
switch (CC) {
|
||||
default: llvm_unreachable("Unknown condition code");
|
||||
case ARMCC::EQ: return "eq";
|
||||
case ARMCC::NE: return "ne";
|
||||
case ARMCC::HS: return "hs";
|
||||
|
@ -84,6 +83,7 @@ inline static const char *ARMCondCodeToString(ARMCC::CondCodes CC) {
|
|||
case ARMCC::LE: return "le";
|
||||
case ARMCC::AL: return "al";
|
||||
}
|
||||
llvm_unreachable("Unknown condition code");
|
||||
}
|
||||
|
||||
namespace ARM_PROC {
|
||||
|
|
Loading…
Reference in New Issue