llvm.org GIT mirror llvm / 4788ec4
Add explicit keywords. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101246 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4040 public:
4141 typedef typename super::pointer pointer;
4242
43 inline PredIterator(Ptr *bb) : It(bb->use_begin()) {
43 explicit inline PredIterator(Ptr *bb) : It(bb->use_begin()) {
4444 advancePastNonTerminators();
4545 }
4646 inline PredIterator(Ptr *bb, bool) : It(bb->use_end()) {}
100100 typedef typename super::pointer pointer;
101101 // TODO: This can be random access iterator, only operator[] missing.
102102
103 inline SuccIterator(Term_ T) : Term(T), idx(0) { // begin iterator
103 explicit inline SuccIterator(Term_ T) : Term(T), idx(0) {// begin iterator
104104 assert(T && "getTerminator returned null!");
105105 }
106106 inline SuccIterator(Term_ T, bool) // end iterator