Lines Matching full:ancestor
960 Scope *Ancestor = S->getParent();
961 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
962 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch");
974 Scope *Ancestor = S->getParent();
975 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
976 CurContext = (DeclContext*) Ancestor->getEntity();