From 98ba8a657daf12c8c0ebfff38da86a5e0945327e Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Sat, 28 Jun 2014 15:56:08 +0000 Subject: [PATCH] [Driver][Mips] Fix else-after-return. No functional changes. llvm-svn: 211984 --- clang/lib/Basic/Targets.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 352deb0ab74a..ebeee445d463 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -5523,11 +5523,12 @@ public: if (Name == "o32" || Name == "eabi") { ABI = Name; return true; - } else if (Name == "32") { + } + if (Name == "32") { ABI = "o32"; return true; - } else - return false; + } + return false; } void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override { @@ -5661,7 +5662,8 @@ public: setN32ABITypes(); ABI = Name; return true; - } else if (Name == "n64" || Name == "64") { + } + if (Name == "n64" || Name == "64") { setN64ABITypes(); ABI = "n64"; return true;