Home | History | Annotate | Download | only in Sema

Lines Matching refs:CurContext

906     SemanticContext = CurContext;
944 DeclContext *OutermostContext = CurContext;
982 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) &&
1034 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) &&
1099 NewClass->setLexicalDeclContext(CurContext);
1100 NewTemplate->setLexicalDeclContext(CurContext);
1125 if (!CurContext->isDependentContext()) {
1133 FriendDecl *Friend = FriendDecl::Create(Context, CurContext,
1138 CurContext->addDecl(Friend);
2047 // changes to CurContext don't change the set of current
2050 for (DeclContext *Ctx = CurContext; Ctx; Ctx = Ctx->getLookupParent()) {
2952 SubstDecl(TempParm, CurContext,
4999 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) {
5005 if (S.CurContext->isRecord() && !IsPartialSpecialization) {
5020 if (S.CurContext->isRecord() &&
5021 !S.CurContext->Equals(Specialized->getDeclContext())) {
5036 DeclContext *DC = S.CurContext->getEnclosingNamespaceContext();
5600 Specialization->setLexicalDeclContext(CurContext);
5607 FriendDecl *Friend = FriendDecl::Create(Context, CurContext,
5612 CurContext->addDecl(Friend);
5617 CurContext->addDecl(Specialization);
6262 DeclContext *CurContext = S.CurContext->getRedeclContext();
6264 if (CurContext->isRecord()) {
6279 if (CurContext->Encloses(OrigContext))
6282 if (CurContext->InEnclosingNamespaceSetOf(OrigContext))
6472 Specialization->setLexicalDeclContext(CurContext);
6473 CurContext->addDecl(Specialization);
7384 DeclContext *DC = CurContext;
7387 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(CurContext)) {