Remove deprecated forms of StringMap::GetOrCreateValue().
authorJay Foad <jay.foad@gmail.com>
Tue, 21 Jun 2011 15:37:05 +0000 (15:37 +0000)
committerJay Foad <jay.foad@gmail.com>
Tue, 21 Jun 2011 15:37:05 +0000 (15:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133517 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/StringMap.h

index 8aac2012b2ed8dfdbd2e0703f94009d7e7b49f88..95c973bcc9a13b48a91ab847cccdb470f752f302 100644 (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) {