r211983 - [Driver][Mips] Remove redundant brackets.

Simon Atanasyan simon at atanasyan.com
Sat Jun 28 08:56:03 PDT 2014


Author: atanasyan
Date: Sat Jun 28 10:56:03 2014
New Revision: 211983

URL: http://llvm.org/viewvc/llvm-project?rev=211983&view=rev
Log:
[Driver][Mips] Remove redundant brackets.

No functional changes.

Modified:
    cfe/trunk/lib/Basic/Targets.cpp

Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=211983&r1=211982&r2=211983&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Sat Jun 28 10:56:03 2014
@@ -5520,7 +5520,7 @@ public:
     MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 32;
   }
   bool setABI(const std::string &Name) override {
-    if ((Name == "o32") || (Name == "eabi")) {
+    if (Name == "o32" || Name == "eabi") {
       ABI = Name;
       return true;
     } else if (Name == "32") {





More information about the cfe-commits mailing list