Lines Matching refs:getPrimaryContext
1212 if (getPrimaryContext() != this) in Encloses()
1213 return getPrimaryContext()->Encloses(DC); in Encloses()
1216 if (DC->getPrimaryContext() == this) in Encloses()
1221 DeclContext *DeclContext::getPrimaryContext() { in getPrimaryContext() function in DeclContext
1542 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr; in removeDecl()
1585 ND->getDeclContext()->getPrimaryContext()-> in addDecl()
1593 ND->getDeclContext()->getPrimaryContext()-> in addDeclInternal()
1605 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC"); in buildLookup()
1674 const DeclContext *PrimaryContext = getPrimaryContext(); in lookup()
1739 DeclContext *PrimaryContext = getPrimaryContext(); in noload_lookup()
1827 return Ctx->getPrimaryContext(); in getEnclosingNamespaceContext()
1860 DeclContext *PrimaryDC = this->getPrimaryContext(); in makeDeclVisibleInContext()
1861 DeclContext *DeclDC = D->getDeclContext()->getPrimaryContext(); in makeDeclVisibleInContext()
1869 assert(this == getPrimaryContext() && "expected a primary DC"); in makeDeclVisibleInContextWithFlags()
1873 getParent()->getPrimaryContext() in makeDeclVisibleInContextWithFlags()
1906 getParent()->getPrimaryContext()-> in makeDeclVisibleInContextWithFlags()
1981 assert(getPrimaryContext() == this && in CreateStoredDeclsMap()
2023 Parent = Parent->getPrimaryContext(); in Create()