mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
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:
parent
06155e88d0
commit
e275c1c9b5
@ -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…
x
Reference in New Issue
Block a user