diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-06 02:59:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-06 02:59:52 +0000 |
commit | fac8a7052fb04323450c7b6318a6d3e644bf0f68 (patch) | |
tree | 528cf46ea1bce48706b7e81ff358b3b144a5e818 /include | |
parent | cb6d70c6e0886756e74cac859c4fa4f3c3c6ae01 (diff) | |
download | external_llvm-fac8a7052fb04323450c7b6318a6d3e644bf0f68.zip external_llvm-fac8a7052fb04323450c7b6318a6d3e644bf0f68.tar.gz external_llvm-fac8a7052fb04323450c7b6318a6d3e644bf0f68.tar.bz2 |
Add a range remove method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ValueHolder.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/ValueHolder.h b/include/llvm/ValueHolder.h index a69c7b6..abd863f 100644 --- a/include/llvm/ValueHolder.h +++ b/include/llvm/ValueHolder.h @@ -84,10 +84,11 @@ public: // specified by the iterator, and leaves the iterator pointing to the element // that used to follow the element deleted. // - ValueSubclass *remove(iterator &DI); // Defined in ValueHolderImpl.h - ValueSubclass *remove(const iterator &DI); // Defined in ValueHolderImpl.h - void remove(ValueSubclass *D); // Defined in ValueHolderImpl.h - ValueSubclass *pop_back(); // Defined in ValueHolderImpl.h + ValueSubclass *remove(iterator &DI); + ValueSubclass *remove(const iterator &DI); + void remove(ValueSubclass *D); + void remove(iterator Start, iterator End); + ValueSubclass *pop_back(); // replaceWith - This removes the element pointed to by 'Where', and inserts // NewValue in it's place. The old value is returned. 'Where' must be a |