diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-13 03:29:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-13 03:29:26 +0000 |
commit | d7db1fb944b9b115d19958ddb7997ab4787b2f18 (patch) | |
tree | 7aa0610ea0205947c5060337afd97bb8ddf1ab52 | |
parent | 6d3906be28a52546595749843449dd5bbb712f21 (diff) | |
download | external_llvm-d7db1fb944b9b115d19958ddb7997ab4787b2f18.zip external_llvm-d7db1fb944b9b115d19958ddb7997ab4787b2f18.tar.gz external_llvm-d7db1fb944b9b115d19958ddb7997ab4787b2f18.tar.bz2 |
Add new op_erase method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9068 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/User.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/User.h b/include/llvm/User.h index cc28d76..42f9c86 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 |