summaryrefslogtreecommitdiff
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-06-21 15:37:05 +0000
committerJay Foad <jay.foad@gmail.com>2011-06-21 15:37:05 +0000
commite275c1c9b5a4c930360f0bdb8cb41a8c66febb2b (patch)
treeb341237d26380e068313f8f90cbb0954a776ae78 /include/llvm/ADT
parent06155e88d09c273edf509f511f717c38a7e2d263 (diff)
downloadllvm-e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b.tar.gz
llvm-e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b.tar.bz2
llvm-e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b.tar.xz
Remove deprecated forms of StringMap::GetOrCreateValue().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r--include/llvm/ADT/StringMap.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/ADT/StringMap.h b/include/llvm/ADT/StringMap.h
index 8aac2012b2..95c973bcc9 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 <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) {