<div dir="ltr">Looks good - committed in r233004</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 22, 2015 at 1:06 PM, Richard <span dir="ltr"><<a href="mailto:legalize@xmission.com" target="_blank">legalize@xmission.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi alexfh, rafael, bkramer, ddunbar, Bigcheese, chandlerc,<br>
<br>
Simplify boolean expressions using `true` and `false` with `clang-tidy`<br>
<br>
<a href="http://reviews.llvm.org/D8526" target="_blank">http://reviews.llvm.org/D8526</a><br>
<br>
Files:<br>
  lib/Support/APFloat.cpp<br>
<br>
Index: lib/Support/APFloat.cpp<br>
===================================================================<br>
--- lib/Support/APFloat.cpp<br>
+++ lib/Support/APFloat.cpp<br>
@@ -1430,7 +1430,7 @@<br>
<br>
   /* Determine if the operation on the absolute values is effectively<br>
      an addition or subtraction.  */<br>
-  subtract ^= (sign ^ rhs.sign) ? true : false;<br>
+  subtract ^= (sign ^ rhs.sign) != 0;<br>
<br>
   /* Are we bigger exponent-wise than the RHS?  */<br>
   bits = exponent - rhs.exponent;<br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>