Lines Matching full:ancestor
1125 Scope *Ancestor = S->getParent();
1126 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
1127 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch");
1139 Scope *Ancestor = S->getParent();
1140 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
1141 CurContext = Ancestor->getEntity();