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 | 91d7b90185fdc7b7ec1a8197a9eb9fb0763106b5 (patch) | |
tree | 21d2cf28b305f8ce97f8a1c1b6023ba37152e789 | |
parent | dd7bb199b7248b9f6072b47e6b10f71a0e0fbd4c (diff) | |
download | bcm5719-llvm-91d7b90185fdc7b7ec1a8197a9eb9fb0763106b5.tar.gz bcm5719-llvm-91d7b90185fdc7b7ec1a8197a9eb9fb0763106b5.zip |
Add an unreachable to silence warning - the switch is actually
fully enumerated.
llvm-svn: 117647
-rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 648b54a0338..f18bddf77c5 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/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!"); } |