Home | History | Annotate | Download | only in Sema

Lines Matching refs:getDeclContext

74       Record = cast<CXXRecordDecl>(Record->getDeclContext());
917 PrevDecl = cast<CXXRecordDecl>(PrevDecl->getDeclContext());
939 (OutermostContext->Equals(PrevDecl->getDeclContext()) ||
940 OutermostContext->Encloses(PrevDecl->getDeclContext()))) {
941 SemanticContext = PrevDecl->getDeclContext();
1105 if (!Invalid && TUK != TUK_Friend && NewTemplate->getDeclContext()->isRecord())
1684 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext()))
2147 ClassTemplate->getDeclContext(),
2547 Context, VarTemplate->getDeclContext(), TemplateKWLoc,
2590 Context, VarTemplate->getDeclContext(), TemplateKWLoc, TemplateNameLoc,
3181 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext());
3234 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext());
3286 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext());
3420 !Template->getDeclContext()->isDependentContext()) {
4109 if (Tag->getDeclContext()->isFunctionOrMethod()) {
5311 if (VD->getDeclContext()->isRecord() &&
5321 = Context.getTypeDeclType(cast<RecordDecl>(VD->getDeclContext()));
5826 !S.CurContext->Equals(Specialized->getDeclContext())) {
5839 = Specialized->getDeclContext()->getEnclosingNamespaceContext();
6259 ClassTemplate->getDeclContext(),
6317 ClassTemplate->getDeclContext(),
6704 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
6710 D->getDeclContext()->getRedeclContext()))
6749 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
6757 Ovl->getDeclContext()->getRedeclContext()))
7084 DeclContext *OrigContext= D->getDeclContext()->getEnclosingNamespaceContext();
7283 ClassTemplate->getDeclContext(),
7463 << 0 << Record->getDeclName() << Record->getDeclContext();