<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Michael<div><br></div><div>We had a buildbot failure with this code (or the previous commits).  Does this fix it?</div><div><br></div><div>The error is</div><div><br></div><div><pre style="font-family: 'Courier New', courier, monotype; "><span class="stderr" style="color: red; ">llvm/unittests/Support/Path.cpp:386:26: error: calling a private constructor of class 'llvm::sys::fs::mapped_file_region'
  fs::mapped_file_region mfrrv(llvm_move(m));
                         ^
llvm/include/llvm/Support/FileSystem.h:584:3: note: implicitly declared private here
  mapped_file_region(mapped_file_region&) LLVM_DELETED_FUNCTION;
  ^
1 error generated.</span></pre><div><br></div></div><div><br></div><div>Thanks,</div><div>Pete<br><div><div>On Aug 15, 2012, at 12:21 PM, Michael J. Spencer <<a href="mailto:bigcheesegs@gmail.com">bigcheesegs@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Author: mspencer<br>Date: Wed Aug 15 14:21:42 2012<br>New Revision: 161979<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=161979&view=rev">http://llvm.org/viewvc/llvm-project?rev=161979&view=rev</a><br>Log:<br>Properly test the LLVM_USE_RVALUE_REFERENCES macro.<br><br>Modified:<br>    llvm/trunk/unittests/Support/Path.cpp<br><br>Modified: llvm/trunk/unittests/Support/Path.cpp<br>URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=161979&r1=161978&r2=161979&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=161979&r1=161978&r2=161979&view=diff</a><br>==============================================================================<br>--- llvm/trunk/unittests/Support/Path.cpp (original)<br>+++ llvm/trunk/unittests/Support/Path.cpp Wed Aug 15 14:21:42 2012<br>@@ -375,7 +375,7 @@<br><br>   // Unmap temp file<br><br>-#ifdef LLVM_USE_RVALUE_REFERENCES<br>+#if LLVM_USE_RVALUE_REFERENCES<br>   fs::mapped_file_region m(Twine(TempPath),<br>                              fs::mapped_file_region::readonly,<br>                              0,<br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br></blockquote></div><br></div></body></html>