Lines Matching refs:ir
31 IteratorTy ir;
35 explicit UnresolvedSetIterator(DeclsTy::iterator ir) : ir(ir) {}
36 explicit UnresolvedSetIterator(DeclsTy::const_iterator ir) :
37 ir(const_cast<DeclsTy::iterator>(ir)) {}
39 IteratorTy getIterator() const { return ir; }
50 NamedDecl *getDecl() const { return ir->getDecl(); }
51 AccessSpecifier getAccess() const { return ir->getAccess(); }
52 void setAccess(AccessSpecifier AS) { ir->setAccess(AS); }
53 DeclAccessPair getPair() const { return *ir; }
57 UnresolvedSetIterator &operator++() { ++ir; return *this; }
58 UnresolvedSetIterator operator++(int) { return UnresolvedSetIterator(ir++); }
59 UnresolvedSetIterator &operator--() { --ir; return *this; }
60 UnresolvedSetIterator operator--(int) { return UnresolvedSetIterator(ir--); }
63 ir += d; return *this;
66 return UnresolvedSetIterator(ir + d);
69 ir -= d; return *this;
72 return UnresolvedSetIterator(ir - d);
77 return ir - o.ir;
80 bool operator==(const UnresolvedSetIterator &o) const { return ir == o.ir; }
81 bool operator!=(const UnresolvedSetIterator &o) const { return ir != o.ir; }
82 bool operator<(const UnresolvedSetIterator &o) const { return ir < o.ir; }
83 bool operator<=(const UnresolvedSetIterator &o) const { return ir <= o.ir; }
84 bool operator>=(const UnresolvedSetIterator &o) const { return ir >= o.ir; }
85 bool operator>(const UnresolvedSetIterator &o) const { return ir > o.ir; }
132 I.ir->setDecl(New);
136 I.ir->set(New, AS);
145 *I.ir = decls().back();
150 I.ir->setAccess(AS);
160 decls().append(I.ir, E.ir);