From e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Tue, 21 Jun 2011 15:37:05 +0000 Subject: [PATCH] Remove deprecated forms of StringMap::GetOrCreateValue(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133517 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/StringMap.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/llvm/ADT/StringMap.h b/include/llvm/ADT/StringMap.h index 8aac2012b2e..95c973bcc9a 100644 --- a/include/llvm/ADT/StringMap.h +++ b/include/llvm/ADT/StringMap.h @@ -381,18 +381,6 @@ public: return GetOrCreateValue(Key, ValueTy()); } - // FIXME: Remove this method. - template - 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) { -- 2.34.1