Remove caseless switch.

llvm-svn: 100770
This commit is contained in:
Benjamin Kramer 2010-04-08 15:44:22 +00:00
parent adfd4df12c
commit f41ccef5eb
1 changed files with 3 additions and 7 deletions

View File

@ -566,13 +566,9 @@ void Clang::AddMIPSTargetArgs(const ArgList &Args,
// 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") {