From b743545965ea62ad8c0126828a8dcb614fa127a9 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 llvm-svn: 9068 --- 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