Properly test the LLVM_USE_RVALUE_REFERENCES macro.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 15 Aug 2012 19:21:42 +0000 (19:21 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 15 Aug 2012 19:21:42 +0000 (19:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161979 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/Path.cpp

index 30ad1034200666f94a4a654cd686d7bc8b9d182b..63c9ae059157601acaa79d5a62a329137ff5f058 100644 (file)
@@ -375,7 +375,7 @@ TEST_F(FileSystemTest, FileMapping) {
   
   // 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,