Add new op_erase method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9068 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-10-13 03:29:26 +00:00
parent 6d3906be28
commit d7db1fb944

View File

@ -52,6 +52,9 @@ public:
/// operands list. Only use this if you know what you are doing.
///
op_iterator op_erase(op_iterator I) { return Operands.erase(I); }
op_iterator op_erase(op_iterator I, op_iterator E) {
return Operands.erase(I, E);
}
// dropAllReferences() - This function is in charge of "letting go" of all
// objects that this User refers to. This allows one to