[llvm-commits] [llvm] r161979 - /llvm/trunk/unittests/Support/Path.cpp

Michael J. Spencer bigcheesegs at gmail.com
Wed Aug 15 12:21:43 PDT 2012


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,





More information about the llvm-commits mailing list