Remove deprecated forms of StringMap::GetOrCreateValue().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jay Foad 2011-06-21 15:37:05 +00:00
parent 06155e88d0
commit e275c1c9b5

View File

@ -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) {