Lines Matching refs:getPrimaryContext
1211 if (getPrimaryContext() != this)
1212 return getPrimaryContext()->Encloses(DC);
1215 if (DC->getPrimaryContext() == this)
1220 DeclContext *DeclContext::getPrimaryContext() {
1541 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr;
1584 ND->getDeclContext()->getPrimaryContext()->
1592 ND->getDeclContext()->getPrimaryContext()->
1604 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1673 const DeclContext *PrimaryContext = getPrimaryContext();
1738 DeclContext *PrimaryContext = getPrimaryContext();
1826 return Ctx->getPrimaryContext();
1859 DeclContext *PrimaryDC = this->getPrimaryContext();
1860 DeclContext *DeclDC = D->getDeclContext()->getPrimaryContext();
1868 assert(this == getPrimaryContext() && "expected a primary DC");
1872 getParent()->getPrimaryContext()
1905 getParent()->getPrimaryContext()->
1980 assert(getPrimaryContext() == this &&
2022 Parent = Parent->getPrimaryContext();