Lines Matching defs:Ancestor
941 Scope *Ancestor = S->getParent();
942 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
943 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch");
955 Scope *Ancestor = S->getParent();
956 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent();
957 CurContext = Ancestor->getEntity();