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 | f6474fd5f3afe4ee92ee4e51af529e87b054b42d (patch) | |
| tree | 452f1692ee24e8e3f070f06c0eaaa83884558e15 /llvm | |
| parent | 7a8a5f7f1de59f1bd2619b8e38e393e1dd3d2e09 (diff) | |
| download | bcm5719-llvm-f6474fd5f3afe4ee92ee4e51af529e87b054b42d.tar.gz bcm5719-llvm-f6474fd5f3afe4ee92ee4e51af529e87b054b42d.zip | |
Remove deprecated forms of StringMap::GetOrCreateValue().
llvm-svn: 133517
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/ADT/StringMap.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/include/llvm/ADT/StringMap.h b/llvm/include/llvm/ADT/StringMap.h index 8aac2012b2e..95c973bcc9a 100644 --- a/llvm/include/llvm/ADT/StringMap.h +++ b/llvm/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) { |

