From: Eric Christopher Date: Fri, 29 Oct 2010 09:26:59 +0000 (+0000) Subject: Add an unreachable to silence warning - the switch is actually X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c223e2b10b4753a63dfe7e6980c650b179139983;p=oota-llvm.git Add an unreachable to silence warning - the switch is actually fully enumerated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117647 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 648b54a0338..f18bddf77c5 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -797,6 +797,8 @@ MatchAndEmitInstruction(SMLoc IDLoc, case Match_MnemonicFail: return Error(IDLoc, "unrecognized instruction mnemonic"); } + + llvm_unreachable("Implement any new match types added!"); }