mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 22:15:18 +00:00
Make helper utility members private.
llvm-svn: 101243
This commit is contained in:
parent
84265367be
commit
c9fee63fce
@ -29,10 +29,8 @@ template <class _Ptr, class _USE_iterator> // Predecessor Iterator
|
||||
class PredIterator : public std::iterator<std::forward_iterator_tag,
|
||||
_Ptr, ptrdiff_t> {
|
||||
typedef std::iterator<std::forward_iterator_tag, _Ptr, ptrdiff_t> super;
|
||||
_USE_iterator It;
|
||||
public:
|
||||
typedef PredIterator<_Ptr,_USE_iterator> _Self;
|
||||
typedef typename super::pointer pointer;
|
||||
_USE_iterator It;
|
||||
|
||||
inline void advancePastNonTerminators() {
|
||||
// Loop to ignore non terminator uses (for example PHI nodes)...
|
||||
@ -40,6 +38,9 @@ public:
|
||||
++It;
|
||||
}
|
||||
|
||||
public:
|
||||
typedef typename super::pointer pointer;
|
||||
|
||||
inline PredIterator(_Ptr *bb) : It(bb->use_begin()) {
|
||||
advancePastNonTerminators();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user