summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-01-03 08:16:34 +0000
committerCraig Topper <craig.topper@gmail.com>2015-01-03 08:16:34 +0000
commit589ceee7f449db13c61995625be7bd2374d23595 (patch)
tree62bc8a3f454dd729ba593958353b8025996d545d /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
parenta5754e6e82ae241b2c0ca3263a0d1ccca6ae1099 (diff)
downloadbcm5719-llvm-589ceee7f449db13c61995625be7bd2374d23595.tar.gz
bcm5719-llvm-589ceee7f449db13c61995625be7bd2374d23595.zip
Minor cleanup to all the switches after MatchInstructionImpl in all the AsmParsers.
Make sure they all have llvm_unreachable on the default path out of the switch. Remove unnecessary "default: break". Remove a 'return' after unreachable. Fix some indentation. llvm-svn: 225114
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 72b4fda3d07..93af30c83c3 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -8575,7 +8575,6 @@ bool ARMAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo,
MatchingInlineAsm);
switch (MatchResult) {
- default: break;
case Match_Success:
// Context sensitive operand constraints aren't handled by the matcher,
// so check them here.
OpenPOWER on IntegriCloud