diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-06-21 15:37:05 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-06-21 15:37:05 +0000 |
commit | e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b (patch) | |
tree | b341237d26380e068313f8f90cbb0954a776ae78 /include/llvm/ADT/StringMap.h | |
parent | 06155e88d09c273edf509f511f717c38a7e2d263 (diff) | |
download | external_llvm-e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b.zip external_llvm-e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b.tar.gz external_llvm-e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b.tar.bz2 |
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/StringMap.h')
-rw-r--r-- | include/llvm/ADT/StringMap.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/ADT/StringMap.h b/include/llvm/ADT/StringMap.h index 8aac201..95c973b 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) { |