• Home
  • Raw
  • Download

Lines Matching refs:getDeclContext

76       Record = cast<CXXRecordDecl>(Record->getDeclContext());  in isAcceptableTemplateName()
950 PrevDecl = cast<CXXRecordDecl>(PrevDecl->getDeclContext()); in CheckClassTemplate()
972 (OutermostContext->Equals(PrevDecl->getDeclContext()) || in CheckClassTemplate()
973 OutermostContext->Encloses(PrevDecl->getDeclContext()))) { in CheckClassTemplate()
974 SemanticContext = PrevDecl->getDeclContext(); in CheckClassTemplate()
1006 PrevClassTemplate->getDeclContext()->getRedeclContext()->Equals( in CheckClassTemplate()
1144 if (!Invalid && TUK != TUK_Friend && NewTemplate->getDeclContext()->isRecord()) in CheckClassTemplate()
1713 if (TypeDecl *Parent = dyn_cast<TypeDecl>(Template->getDeclContext())) in MatchTemplateParametersToScopeSpecifier()
2250 ClassTemplate->getDeclContext(), in CheckTemplateIdType()
2633 Context, VarTemplate->getDeclContext(), TemplateKWLoc, in ActOnVarTemplateSpecialization()
2676 Context, VarTemplate->getDeclContext(), TemplateKWLoc, TemplateNameLoc, in ActOnVarTemplateSpecialization()
3272 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
3375 Sema::ContextRAII SavedContext(SemaRef, Template->getDeclContext()); in SubstDefaultTemplateArgument()
3509 !Template->getDeclContext()->isDependentContext()) { in CheckTemplateArgument()
4229 if (Tag->getDeclContext()->isFunctionOrMethod()) { in VisitTagDecl()
5433 if (VD->getDeclContext()->isRecord() && in BuildExpressionFromDeclTemplateArgument()
5443 = Context.getTypeDeclType(cast<RecordDecl>(VD->getDeclContext())); in BuildExpressionFromDeclTemplateArgument()
5950 !S.CurContext->Equals(Specialized->getDeclContext())) { in CheckTemplateSpecializationScope()
5963 = Specialized->getDeclContext()->getEnclosingNamespaceContext(); in CheckTemplateSpecializationScope()
6382 ClassTemplate->getDeclContext(), in ActOnClassTemplateSpecialization()
6438 ClassTemplate->getDeclContext(), in ActOnClassTemplateSpecialization()
6822 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization()
6828 D->getDeclContext()->getRedeclContext())) in CheckDependentFunctionTemplateSpecialization()
6871 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckFunctionTemplateSpecialization()
6879 Ovl->getDeclContext()->getRedeclContext())) in CheckFunctionTemplateSpecialization()
7249 DeclContext *OrigContext= D->getDeclContext()->getEnclosingNamespaceContext(); in CheckExplicitInstantiationScope()
7483 ClassTemplate->getDeclContext(), in ActOnExplicitInstantiation()
7693 << 0 << Record->getDeclName() << Record->getDeclContext(); in ActOnExplicitInstantiation()