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:
06155e8
)
Remove deprecated forms of StringMap::GetOrCreateValue().
author
Jay Foad
<jay.foad@gmail.com>
Tue, 21 Jun 2011 15:37:05 +0000
(15:37 +0000)
committer
Jay Foad
<jay.foad@gmail.com>
Tue, 21 Jun 2011 15:37:05 +0000
(15:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133517
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/StringMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/StringMap.h
b/include/llvm/ADT/StringMap.h
index 8aac2012b2ed8dfdbd2e0703f94009d7e7b49f88..95c973bcc9a13b48a91ab847cccdb470f752f302 100644
(file)
--- a/
include/llvm/ADT/StringMap.h
+++ b/
include/llvm/ADT/StringMap.h
@@
-381,18
+381,6
@@
public:
return GetOrCreateValue(Key, ValueTy());
}
return GetOrCreateValue(Key, ValueTy());
}
- // FIXME: Remove this method.
- template <typename InitTy>
- MapEntryTy &GetOrCreateValue(const char *KeyStart, const char *KeyEnd,
- InitTy Val) {
- return GetOrCreateValue(StringRef(KeyStart, KeyEnd - KeyStart), Val);
- }
-
- // FIXME: Remove this method.
- MapEntryTy &GetOrCreateValue(const char *KeyStart, const char *KeyEnd) {
- return GetOrCreateValue(StringRef(KeyStart, KeyEnd - KeyStart));
- }
-
/// remove - Remove the specified key/value pair from the map, but do not
/// erase it. This aborts if the key is not in the map.
void remove(MapEntryTy *KeyValue) {
/// remove - Remove the specified key/value pair from the map, but do not
/// erase it. This aborts if the key is not in the map.
void remove(MapEntryTy *KeyValue) {