Lines Matching refs:Ancestor
842 Scope *Ancestor = S->getParent();
843 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
844 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch");
856 Scope *Ancestor = S->getParent();
857 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
858 CurContext = (DeclContext*) Ancestor->getEntity();