Home | History | Annotate | Download | only in Sema

Lines Matching refs:Parent

196   // Lookup in the parent class template context, if any.
1039 // A Lambda call operator whose parent is a class must not be treated
1092 // Start lookups from the parent of the current context; we don't want to look
1156 // from the lexical parent, rather than the top-level class.
1174 // Same implementation as PopDeclContext, but returns to the lexical parent,
1752 DeclContext *Parent = Context.getTranslationUnitDecl();
1755 LinkageSpecDecl::Create(Context, Parent, Loc, Loc,
1758 Parent->addDecl(CLinkageDecl);
1759 Parent = CLinkageDecl;
1763 Parent,
1793 CurContext = Parent;
4099 static void checkDuplicateDefaultInit(Sema &S, CXXRecordDecl *Parent,
4101 if (!Parent->isUnion() || !Parent->hasInClassInitializer())
4105 S.Diag(findDefaultInitializer(Parent), diag::note_previous_initializer) << 0;
4108 static void checkDuplicateDefaultInit(Sema &S, CXXRecordDecl *Parent,
4110 if (!Parent->isUnion() || !Parent->hasInClassInitializer())
4113 checkDuplicateDefaultInit(S, Parent, findDefaultInitializer(AnonUnion));
6831 // Also only accept corrections that have the same parent decl.
6835 CXXRecordDecl *Parent)
6837 ExpectedParent(Parent ? Parent->getCanonicalDecl() : nullptr) {}
6852 CXXRecordDecl *Parent = MD->getParent();
6853 if (Parent && Parent->getCanonicalDecl() == ExpectedParent)
7447 if (const CXXRecordDecl *Parent =
7449 if (Parent->isInterface() && cast<CXXMethodDecl>(NewFD)->isUserProvided())
7454 if (isVirtual && Parent->isUnion())
14634 ModCheck = ModCheck->Parent;