Lines Matching refs:getEntity
1421 assert(!S->getEntity() && "scope already has entity"); in EnterDeclaratorContext()
1425 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in EnterDeclaratorContext()
1426 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch"); in EnterDeclaratorContext()
1440 assert(S->getEntity() == CurContext && "Context imbalance!"); in ExitDeclaratorContext()
1445 while (!Ancestor->getEntity()) Ancestor = Ancestor->getParent(); in ExitDeclaratorContext()
1446 CurContext = Ancestor->getEntity(); in ExitDeclaratorContext()
1566 while (S->getEntity() && S->getEntity()->isTransparentContext()) in PushOnScopeChains()
1628 if (DeclContext *ScopeDC = S->getEntity()) in getScopeForDeclContext()
2405 (S->getEntity() && S->getEntity()->isTransparentContext()) || in getNonFieldDeclScope()
9776 (S->getEntity() && S->getEntity()->isTransparentContext())) in getTagInjectionScope()
16469 while (!ContextScope->getEntity() || in ImplicitlyDefineFunction()
16470 (!ContextScope->getEntity()->isFunctionOrMethod() && in ImplicitlyDefineFunction()
16471 !ContextScope->getEntity()->isTranslationUnit())) in ImplicitlyDefineFunction()
16473 ContextRAII SavedContext(*this, ContextScope->getEntity()); in ImplicitlyDefineFunction()