[llvm-commits] [llvm] r161979 - /llvm/trunk/unittests/Support/Path.cpp
Peter Cooper
peter_cooper at apple.com
Wed Aug 15 13:35:47 PDT 2012
Hi Michael
We had a buildbot failure with this code (or the previous commits). Does this fix it?
The error is
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.
Thanks,
Pete
On Aug 15, 2012, at 12:21 PM, Michael J. Spencer <bigcheesegs at gmail.com> wrote:
> Author: mspencer
> Date: Wed Aug 15 14:21:42 2012
> New Revision: 161979
>
> URL: http://llvm.org/viewvc/llvm-project?rev=161979&view=rev
> Log:
> Properly test the LLVM_USE_RVALUE_REFERENCES macro.
>
> Modified:
> llvm/trunk/unittests/Support/Path.cpp
>
> Modified: llvm/trunk/unittests/Support/Path.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=161979&r1=161978&r2=161979&view=diff
> ==============================================================================
> --- llvm/trunk/unittests/Support/Path.cpp (original)
> +++ llvm/trunk/unittests/Support/Path.cpp Wed Aug 15 14:21:42 2012
> @@ -375,7 +375,7 @@
>
> // Unmap temp file
>
> -#ifdef LLVM_USE_RVALUE_REFERENCES
> +#if LLVM_USE_RVALUE_REFERENCES
> fs::mapped_file_region m(Twine(TempPath),
> fs::mapped_file_region::readonly,
> 0,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120815/66a5fe6a/attachment.html>
More information about the llvm-commits
mailing list