From d7db1fb944b9b115d19958ddb7997ab4787b2f18 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 13 Oct 2003 03:29:26 +0000 Subject: [PATCH] Add new op_erase method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9068 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/User.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/User.h b/include/llvm/User.h index cc28d76ab3d..42f9c861016 100644 --- a/include/llvm/User.h +++ b/include/llvm/User.h @@ -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 -- 2.34.1