From: Jay Foad Date: Tue, 21 Jun 2011 15:37:05 +0000 (+0000) Subject: Remove deprecated forms of StringMap::GetOrCreateValue(). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b;p=oota-llvm.git Remove deprecated forms of StringMap::GetOrCreateValue(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133517 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {