[llvm] r238552 - Removing a switch statement that only contains a default; NFC.
Aaron Ballman
aaron at aaronballman.com
Fri May 29 06:00:07 PDT 2015
Author: aaronballman
Date: Fri May 29 08:00:07 2015
New Revision: 238552
URL: http://llvm.org/viewvc/llvm-project?rev=238552&view=rev
Log:
Removing a switch statement that only contains a default; NFC.
Modified:
llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
Modified: llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp?rev=238552&r1=238551&r2=238552&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp Fri May 29 08:00:07 2015
@@ -219,10 +219,7 @@ public:
};
PrettyPrinter PrettyPrinterInst;
PrettyPrinter &selectPrettyPrinter(Triple const &Triple, MCInstPrinter &IP) {
- switch(Triple.getArch()) {
- default:
- return PrettyPrinterInst;
- }
+ return PrettyPrinterInst;
}
}
More information about the llvm-commits
mailing list