<div dir="ltr">Is this reasonably testable?</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 28, 2016 at 1:22 PM Tim Shen via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: timshen<br class="gmail_msg">
Date: Fri Oct 28 15:13:06 2016<br class="gmail_msg">
New Revision: 285442<br class="gmail_msg">
<br class="gmail_msg">
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=285442&view=rev" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project?rev=285442&view=rev</a><br class="gmail_msg">
Log:<br class="gmail_msg">
[APFloat] Use std::move() in move assignment operator<br class="gmail_msg">
<br class="gmail_msg">
Modified:<br class="gmail_msg">
llvm/trunk/include/llvm/ADT/APFloat.h<br class="gmail_msg">
<br class="gmail_msg">
Modified: llvm/trunk/include/llvm/ADT/APFloat.h<br class="gmail_msg">
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APFloat.h?rev=285442&r1=285441&r2=285442&view=diff" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APFloat.h?rev=285442&r1=285441&r2=285442&view=diff</a><br class="gmail_msg">
==============================================================================<br class="gmail_msg">
--- llvm/trunk/include/llvm/ADT/APFloat.h (original)<br class="gmail_msg">
+++ llvm/trunk/include/llvm/ADT/APFloat.h Fri Oct 28 15:13:06 2016<br class="gmail_msg">
@@ -712,7 +712,7 @@ class APFloat : public APFloatBase {<br class="gmail_msg">
Double = std::move(RHS.Double);<br class="gmail_msg">
} else if (this != &RHS) {<br class="gmail_msg">
this->~Storage();<br class="gmail_msg">
- new (this) Storage(RHS);<br class="gmail_msg">
+ new (this) Storage(std::move(RHS));<br class="gmail_msg">
}<br class="gmail_msg">
return *this;<br class="gmail_msg">
}<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
llvm-commits mailing list<br class="gmail_msg">
<a href="mailto:llvm-commits@lists.llvm.org" class="gmail_msg" target="_blank">llvm-commits@lists.llvm.org</a><br class="gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br class="gmail_msg">
</blockquote></div>