llvm.org GIT mirror llvm / a599f87
Add new op_erase method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6757 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4848 inline op_iterator op_end() { return Operands.end(); }
4949 inline const_op_iterator op_end() const { return Operands.end(); }
5050
51 /// op_erase - This method is used to remove one of the arguments from the
52 /// operands list. Only use this if you know what you are doing.
53 ///
54 op_iterator op_erase(op_iterator I) { return Operands.erase(I); }
55
5156 // dropAllReferences() - This function is in charge of "letting go" of all
5257 // objects that this User refers to. This allows one to
5358 // 'delete' a whole class at a time, even though there may be circular