зеркало из https://github.com/microsoft/clang-1.git
Remove caseless switch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
af2094e7ce
Коммит
71c972acd4
|
@ -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") {
|
||||
|
|
Загрузка…
Ссылка в новой задаче