[llvm-commits] [llvm] r133517 - /llvm/trunk/include/llvm/ADT/StringMap.h

Jay Foad jay.foad at gmail.com
Tue Jun 21 08:37:05 PDT 2011


Author: foad
Date: Tue Jun 21 10:37:05 2011
New Revision: 133517

URL: http://llvm.org/viewvc/llvm-project?rev=133517&view=rev
Log:
Remove deprecated forms of StringMap::GetOrCreateValue().

Modified:
    llvm/trunk/include/llvm/ADT/StringMap.h

Modified: llvm/trunk/include/llvm/ADT/StringMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/StringMap.h?rev=133517&r1=133516&r2=133517&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/StringMap.h (original)
+++ llvm/trunk/include/llvm/ADT/StringMap.h Tue Jun 21 10:37:05 2011
@@ -381,18 +381,6 @@
     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) {





More information about the llvm-commits mailing list