diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-13 06:18:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-13 06:18:19 +0000 |
commit | 004adcafec3caa84a29926b877309cc8fdf21f96 (patch) | |
tree | 66a5f0d2bd72c2d2e6bc7a4cc1ce73f6c378f187 | |
parent | 26e129e64f2f6aa77a541ffd9101b2da38fc089e (diff) |
Add use_back() methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@740 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Value.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 255105f288..8245f8fb35 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -110,6 +110,8 @@ public: inline use_const_iterator use_begin() const { return Uses.begin(); } inline use_iterator use_end() { 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); } User *use_remove(use_iterator &I); |