Home | History | Annotate | Download | only in ADT

Lines Matching refs:VisitStack

98   // VisitStack - Used to maintain the ordering.  Top = current block
99 std::vector<StackElement> VisitStack;
104 VisitStack.push_back(StackElement(Node, None));
110 VisitStack.push_back(StackElement(Node, None));
119 NodeRef Node = VisitStack.back().first;
120 Optional<ChildItTy> &Opt = VisitStack.back().second;
126 // VisitStack.back().second actually gets updated as the iterator
133 VisitStack.push_back(StackElement(Next, None));
140 VisitStack.pop_back();
141 } while (!VisitStack.empty());
160 return VisitStack == x.VisitStack;
164 const NodeRef &operator*() const { return VisitStack.back().first; }
182 VisitStack.pop_back();
183 if (!VisitStack.empty())
204 unsigned getPathLength() const { return VisitStack.size(); }
208 NodeRef getPath(unsigned n) const { return VisitStack[n].first; }