• Home
  • Raw
  • Download

Lines Matching refs:getDeclContext

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