Lines Matching refs:Chain
33 SmallVector<ModuleFile *, 2> Chain;
109 ModuleIterator begin() { return Chain.begin(); }
111 ModuleIterator end() { return Chain.end(); }
115 ModuleConstIterator begin() const { return Chain.begin(); }
117 ModuleConstIterator end() const { return Chain.end(); }
121 ModuleReverseIterator rbegin() { return Chain.rbegin(); }
123 ModuleReverseIterator rend() { return Chain.rend(); }
127 ModuleFile &getPrimaryModule() { return *Chain[0]; }
131 ModuleFile &getPrimaryModule() const { return *Chain[0]; }
134 ModuleFile &operator[](unsigned Index) const { return *Chain[Index]; }
146 unsigned size() const { return Chain.size(); }