diff options
author | Eric Christopher <echristo@apple.com> | 2010-10-29 09:26:59 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-10-29 09:26:59 +0000 |
commit | c223e2b10b4753a63dfe7e6980c650b179139983 (patch) | |
tree | 85b868d624088524a077b40eacb9315cca1176bf | |
parent | 1a9eb2f1b38ca8e163f9b3458f8b58dff5fae5ac (diff) |
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
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 648b54a033..f18bddf77c 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!"); } |