[cfe-commits] r100770 - /cfe/trunk/lib/Driver/Tools.cpp
Benjamin Kramer
benny.kra at googlemail.com
Thu Apr 8 08:44:22 PDT 2010
Author: d0k
Date: Thu Apr 8 10:44:22 2010
New Revision: 100770
URL: http://llvm.org/viewvc/llvm-project?rev=100770&view=rev
Log:
Remove caseless switch.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=100770&r1=100769&r2=100770&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Thu Apr 8 10:44:22 2010
@@ -566,13 +566,9 @@
// If unspecified, choose the default based on the platform.
if (FloatABI.empty()) {
- switch (getToolChain().getTriple().getOS()) {
- default:
- // Assume "soft", but warn the user we are guessing.
- FloatABI = "soft";
- D.Diag(clang::diag::warn_drv_assuming_mfloat_abi_is) << "soft";
- break;
- }
+ // Assume "soft", but warn the user we are guessing.
+ FloatABI = "soft";
+ D.Diag(clang::diag::warn_drv_assuming_mfloat_abi_is) << "soft";
}
if (FloatABI == "soft") {
More information about the cfe-commits
mailing list