[PATCH] Refactor: Simplify boolean expressions in Mips target

Simon Atanasyan simon at atanasyan.com
Sun Mar 22 13:30:19 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);
----------------
I think these lines can be clang-formatted at the same time.

http://reviews.llvm.org/D8522

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






More information about the llvm-commits mailing list