summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/DenseMap.h
diff options
context:
space:
mode:
authorJoe Groff <arcata@gmail.com>2013-01-14 19:37:42 +0000
committerJoe Groff <arcata@gmail.com>2013-01-14 19:37:42 +0000
commit289148afcb68b28e155ee87aa5a9efcf75adb444 (patch)
treee05e6a3d09c09a9dfdb5f489a5d16511a05b78fa /include/llvm/ADT/DenseMap.h
parenta662a9862501fc86904e90054f7c1519101d9126 (diff)
downloadllvm-289148afcb68b28e155ee87aa5a9efcf75adb444.tar.gz
llvm-289148afcb68b28e155ee87aa5a9efcf75adb444.tar.bz2
llvm-289148afcb68b28e155ee87aa5a9efcf75adb444.tar.xz
Fix DenseMap when LLVM_HAS_RVALUE_REFERENCES is defined but equals 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/DenseMap.h')
-rw-r--r--include/llvm/ADT/DenseMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h
index 04912c703c..12cba08a61 100644
--- a/include/llvm/ADT/DenseMap.h
+++ b/include/llvm/ADT/DenseMap.h
@@ -159,7 +159,7 @@ public:
return std::make_pair(iterator(TheBucket, getBucketsEnd(), true), true);
}
-#ifdef LLVM_HAS_RVALUE_REFERENCES
+#if LLVM_HAS_RVALUE_REFERENCES
// Inserts key,value pair into the map if the key isn't already in the map.
// If the key is already in the map, it returns false and doesn't update the
// value.