llvm.org GIT mirror llvm / 0118b8d
Make helper utility members private. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101243 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 10 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2828 class PredIterator : public std::iterator
2929 _Ptr, ptrdiff_t> {
3030 typedef std::iterator super;
31 typedef PredIterator<_Ptr,_USE_iterator> _Self;
3132 _USE_iterator It;
32 public:
33 typedef PredIterator<_Ptr,_USE_iterator> _Self;
34 typedef typename super::pointer pointer;
3533
3634 inline void advancePastNonTerminators() {
3735 // Loop to ignore non terminator uses (for example PHI nodes)...
3836 while (!It.atEnd() && !isa(*It))
3937 ++It;
4038 }
39
40 public:
41 typedef typename super::pointer pointer;
4142
4243 inline PredIterator(_Ptr *bb) : It(bb->use_begin()) {
4344 advancePastNonTerminators();