Add use_back() methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-10-13 06:18:19 +00:00
parent 26e129e64f
commit 004adcafec

View File

@ -110,6 +110,8 @@ public:
inline use_const_iterator use_begin() const { return Uses.begin(); } inline use_const_iterator use_begin() const { return Uses.begin(); }
inline use_iterator use_end() { return Uses.end(); } inline use_iterator use_end() { return Uses.end(); }
inline use_const_iterator use_end() const { return Uses.end(); } inline use_const_iterator use_end() const { return Uses.end(); }
inline User *use_back() { return Uses.back(); }
inline const User *use_back() const { return Uses.back(); }
inline void use_push_back(User *I) { Uses.push_back(I); } inline void use_push_back(User *I) { Uses.push_back(I); }
User *use_remove(use_iterator &I); User *use_remove(use_iterator &I);