[llvm-commits] CVS: llvm/include/llvm/User.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 12 22:30:05 PDT 2003
Changes in directory llvm/include/llvm:
User.h updated: 1.23 -> 1.24
---
Log message:
Add new op_erase method
---
Diffs of the changes: (+3 -0)
Index: llvm/include/llvm/User.h
diff -u llvm/include/llvm/User.h:1.23 llvm/include/llvm/User.h:1.24
--- llvm/include/llvm/User.h:1.23 Thu Oct 9 17:45:59 2003
+++ llvm/include/llvm/User.h Sun Oct 12 22:29:26 2003
@@ -52,6 +52,9 @@
/// 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
More information about the llvm-commits
mailing list