mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
Remove deprecated forms of StringMap::GetOrCreateValue().
llvm-svn: 133517
This commit is contained in:
parent
ea4f714a73
commit
6015684974
@ -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
|
/// 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.
|
/// erase it. This aborts if the key is not in the map.
|
||||||
void remove(MapEntryTy *KeyValue) {
|
void remove(MapEntryTy *KeyValue) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user