Add a range remove method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-05-06 02:59:52 +00:00
parent cb6d70c6e0
commit fac8a7052f

View File

@ -84,10 +84,11 @@ public:
// specified by the iterator, and leaves the iterator pointing to the element // specified by the iterator, and leaves the iterator pointing to the element
// that used to follow the element deleted. // that used to follow the element deleted.
// //
ValueSubclass *remove(iterator &DI); // Defined in ValueHolderImpl.h ValueSubclass *remove(iterator &DI);
ValueSubclass *remove(const iterator &DI); // Defined in ValueHolderImpl.h ValueSubclass *remove(const iterator &DI);
void remove(ValueSubclass *D); // Defined in ValueHolderImpl.h void remove(ValueSubclass *D);
ValueSubclass *pop_back(); // Defined in ValueHolderImpl.h void remove(iterator Start, iterator End);
ValueSubclass *pop_back();
// replaceWith - This removes the element pointed to by 'Where', and inserts // 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 // NewValue in it's place. The old value is returned. 'Where' must be a