Lines Matching defs:getPrimaryContext
1207 if (getPrimaryContext() != this)
1208 return getPrimaryContext()->Encloses(DC);
1211 if (DC->getPrimaryContext() == this)
1216 DeclContext *DeclContext::getPrimaryContext() {
1505 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr;
1545 ND->getDeclContext()->getPrimaryContext()->
1553 ND->getDeclContext()->getPrimaryContext()->
1565 assert(this == getPrimaryContext() && "buildLookup called on non-primary DC");
1632 const DeclContext *PrimaryContext = getPrimaryContext();
1697 DeclContext *PrimaryContext = getPrimaryContext();
1785 return Ctx->getPrimaryContext();
1818 DeclContext *PrimaryDC = this->getPrimaryContext();
1819 DeclContext *DeclDC = D->getDeclContext()->getPrimaryContext();
1827 assert(this == getPrimaryContext() && "expected a primary DC");
1831 getParent()->getPrimaryContext()
1864 getParent()->getPrimaryContext()->
1927 assert(getPrimaryContext() == this &&
1969 Parent = Parent->getPrimaryContext();