[llvm] r270444 - Removing a switch statement that contains only a default label; NFC.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 08:53:00 PDT 2016
Author: aaronballman
Date: Mon May 23 10:52:59 2016
New Revision: 270444
URL: http://llvm.org/viewvc/llvm-project?rev=270444&view=rev
Log:
Removing a switch statement that contains only a default label; NFC.
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=270444&r1=270443&r2=270444&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Mon May 23 10:52:59 2016
@@ -2527,9 +2527,7 @@ bool X86AsmParser::ParseInstruction(Pars
}
bool X86AsmParser::processInstruction(MCInst &Inst, const OperandVector &Ops) {
- switch (Inst.getOpcode()) {
- default: return false;
- }
+ return false;
}
static const char *getSubtargetFeatureName(uint64_t Val);
More information about the llvm-commits
mailing list