Home | History | Annotate | Download | only in Sema

Lines Matching defs:CurContext

899     SemanticContext = CurContext;
937 DeclContext *OutermostContext = CurContext;
954 if (CurContext->isDependentContext()) {
1029 !(TUK == TUK_Friend && CurContext->isDependentContext())) {
1078 NewClass->setLexicalDeclContext(CurContext);
1079 NewTemplate->setLexicalDeclContext(CurContext);
1099 if (!CurContext->isDependentContext()) {
1107 FriendDecl *Friend = FriendDecl::Create(Context, CurContext,
1112 CurContext->addDecl(Friend);
2005 // changes to CurContext don't change the set of current
2008 for (DeclContext *Ctx = CurContext; Ctx; Ctx = Ctx->getLookupParent()) {
2059 Decl->setLexicalDeclContext(CurContext);
2861 SubstDecl(TempParm, CurContext,
4860 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) {
4866 if (S.CurContext->isRecord() && !IsPartialSpecialization) {
4881 if (S.CurContext->isRecord() &&
4882 !S.CurContext->Equals(Specialized->getDeclContext())) {
4897 DeclContext *DC = S.CurContext->getEnclosingNamespaceContext();
5455 Specialization->setLexicalDeclContext(CurContext);
5462 FriendDecl *Friend = FriendDecl::Create(Context, CurContext,
5467 CurContext->addDecl(Friend);
5472 CurContext->addDecl(Specialization);
6096 DeclContext *CurContext = S.CurContext->getRedeclContext();
6098 if (CurContext->isRecord()) {
6113 if (CurContext->Encloses(OrigContext))
6116 if (CurContext->InEnclosingNamespaceSetOf(OrigContext))
6307 Specialization->setLexicalDeclContext(CurContext);
6308 CurContext->addDecl(Specialization);
7176 DeclContext *DC = CurContext;
7179 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(CurContext)) {