Remove deprecated forms of StringMap::GetOrCreateValue().
llvm-svn: 133517
This commit is contained in:
parent
7a8a5f7f1d
commit
f6474fd5f3
|
|
@ -381,18 +381,6 @@ public:
|
|||
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue