r307151 - [driver][mips] Remove redundant curly brackets. NFC
Simon Atanasyan via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 5 05:57:32 PDT 2017
Author: atanasyan
Date: Wed Jul 5 05:57:32 2017
New Revision: 307151
URL: http://llvm.org/viewvc/llvm-project?rev=307151&view=rev
Log:
[driver][mips] Remove redundant curly brackets. NFC
Modified:
cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp?rev=307151&r1=307150&r2=307151&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/Arch/Mips.cpp Wed Jul 5 05:57:32 2017
@@ -227,12 +227,11 @@ void mips::getMIPSTargetFeatures(const D
O.matches(options::OPT_fno_PIE) || O.matches(options::OPT_fno_pie));
}
- if (IsN64 && NonPIC) {
+ if (IsN64 && NonPIC)
Features.push_back("+noabicalls");
- } else {
+ else
AddTargetFeature(Args, Features, options::OPT_mno_abicalls,
options::OPT_mabicalls, "noabicalls");
- }
mips::FloatABI FloatABI = mips::getMipsFloatABI(D, Args);
if (FloatABI == mips::FloatABI::Soft) {
More information about the cfe-commits
mailing list