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