projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e129e
)
Add use_back() methods
author
Chris Lattner
<sabre@nondot.org>
Sat, 13 Oct 2001 06:18:19 +0000
(06:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 13 Oct 2001 06:18:19 +0000
(06:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@740
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Value.h
patch
|
blob
|
history
diff --git
a/include/llvm/Value.h
b/include/llvm/Value.h
index 255105f28801ebdc749bc4cc7e4cb9b07182bd46..8245f8fb35042c05ce011cf3508fc23868d9e27f 100644
(file)
--- 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);