summaryrefslogtreecommitdiff
path: root/unittests/Support
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-08-15 19:21:42 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-08-15 19:21:42 +0000
commit3651e7dfec0444eb74ee3d4ab9c9f4adf1971362 (patch)
tree7662f1531edcf791d7d733be06a422cdfb822819 /unittests/Support
parent118f194966d20460c2b1653e06c601e4b66c9b3f (diff)
Properly test the LLVM_USE_RVALUE_REFERENCES macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support')
-rw-r--r--unittests/Support/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index 30ad1034200..63c9ae05915 100644
--- a/unittests/Support/Path.cpp
+++ b/unittests/Support/Path.cpp
@@ -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,