[PATCH] Refactor: Simplify boolean expressions in Mips target

Richard legalize at xmission.com
Mon Mar 23 22:29:33 PDT 2015


================
Comment at: lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp:272
@@ -271,3 +271,3 @@
   MCELFObjectTargetWriter *MOTW = new MipsELFObjectWriter(Is64Bit, OSABI,
-                                                (Is64Bit) ? true : false,
+                                                Is64Bit,
                                                 IsLittleEndian);
----------------
atanasyan wrote:
> I think these lines can be clang-formatted at the same time.
Fixed

http://reviews.llvm.org/D8522

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list