projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
aedc3ec
)
TopLevelMap[] reference is a pointer.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 3 Mar 2010 20:46:48 +0000
(20:46 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 3 Mar 2010 20:46:48 +0000
(20:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97661
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ScopedHashTable.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ScopedHashTable.h
b/include/llvm/ADT/ScopedHashTable.h
index f325e2b9f30928a0d6c1ef1deb138249d05c5357..b5ca374a7ddd46acfb5ecd9a3baa72baf53eed2a 100644
(file)
--- a/
include/llvm/ADT/ScopedHashTable.h
+++ b/
include/llvm/ADT/ScopedHashTable.h
@@
-139,7
+139,7
@@
public:
}
V lookup(const K &Key) {
- return TopLevelMap[Key]
.
getValue();
+ return TopLevelMap[Key]
->
getValue();
}
void insert(const K &Key, const V &Val) {