projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a662a98
)
Fix DenseMap when LLVM_HAS_RVALUE_REFERENCES is defined but equals 0.
author
Joe Groff
<arcata@gmail.com>
Mon, 14 Jan 2013 19:37:42 +0000
(19:37 +0000)
committer
Joe Groff
<arcata@gmail.com>
Mon, 14 Jan 2013 19:37:42 +0000
(19:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172454
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/DenseMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/DenseMap.h
b/include/llvm/ADT/DenseMap.h
index 04912c703cae2ffb49746c9dfe57abba548b8894..12cba08a61e90ac83a0e1c532e1de670978b88d8 100644
(file)
--- 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);
}
-#if
def
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.