Lines Matching refs:Instantiation

3298 Sema::SubstBaseSpecifiers(CXXRecordDecl *Instantiation,  in SubstBaseSpecifiers()  argument
3307 Instantiation->setInvalidDecl(); in SubstBaseSpecifiers()
3349 = CheckBaseSpecifier(Instantiation, in SubstBaseSpecifiers()
3383 = CheckBaseSpecifier(Instantiation, in SubstBaseSpecifiers()
3394 if (!Invalid && AttachBaseSpecifiers(Instantiation, InstantiatedBases)) in SubstBaseSpecifiers()
3413 CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern, in InstantiateClass() argument
3419 if (DiagnoseUninstantiableTemplate(PointOfInstantiation, Instantiation, in InstantiateClass()
3420 Instantiation->getInstantiatedFromMemberClass(), in InstantiateClass()
3427 Instantiation->getNameForDiagnostic(OS, getPrintingPolicy(), in InstantiateClass()
3430 auto Loc = SourceMgr.getExpansionLoc(Instantiation->getLocation()); in InstantiateClass()
3441 = Instantiation->getMemberSpecializationInfo()) { in InstantiateClass()
3445 = dyn_cast<ClassTemplateSpecializationDecl>(Instantiation)) { in InstantiateClass()
3450 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateClass()
3454 PrettyDeclStackTraceEntry CrashInfo(Context, Instantiation, SourceLocation(), in InstantiateClass()
3459 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass()
3466 bool MergeWithParentScope = !Instantiation->isDefinedOutsideFunctionOrMethod(); in InstantiateClass()
3476 InstantiateAttrs(TemplateArgs, Pattern, Instantiation); in InstantiateClass()
3479 Instantiation->startDefinition(); in InstantiateClass()
3483 Instantiation->setVisibleDespiteOwningModule(); in InstantiateClass()
3486 Instantiation->setTagKind(Pattern->getTagKind()); in InstantiateClass()
3489 if (SubstBaseSpecifiers(Instantiation, Pattern, TemplateArgs)) in InstantiateClass()
3490 Instantiation->setInvalidDecl(); in InstantiateClass()
3492 TemplateDeclInstantiator Instantiator(*this, Instantiation, TemplateArgs); in InstantiateClass()
3522 Instantiation->setInvalidDecl(); in InstantiateClass()
3546 Instantiation->setInvalidDecl(); in InstantiateClass()
3551 (MD->isVirtualAsWritten() || Instantiation->getNumBases())) in InstantiateClass()
3556 Instantiation->setInvalidDecl(); in InstantiateClass()
3566 ActOnFields(nullptr, Instantiation->getLocation(), Instantiation, Fields, in InstantiateClass()
3568 CheckCompletedCXXClass(nullptr, Instantiation); in InstantiateClass()
3599 ActOnFinishDelayedMemberInitializers(Instantiation); in InstantiateClass()
3604 Instantiation->setLocation(Pattern->getLocation()); in InstantiateClass()
3605 Instantiation->setLocStart(Pattern->getInnerLocStart()); in InstantiateClass()
3606 Instantiation->setBraceRange(Pattern->getBraceRange()); in InstantiateClass()
3609 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
3622 Instantiation->setInvalidDecl(); in InstantiateClass()
3635 Instantiation->setInvalidDecl(); in InstantiateClass()
3644 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
3650 MarkVTableUsed(PointOfInstantiation, Instantiation, true); in InstantiateClass()
3652 MarkVirtualMembersReferenced(PointOfInstantiation, Instantiation, in InstantiateClass()
3656 Consumer.HandleTagDeclDefinition(Instantiation); in InstantiateClass()
3658 return Instantiation->isInvalidDecl(); in InstantiateClass()
3662 EnumDecl *Instantiation, EnumDecl *Pattern, in InstantiateEnum() argument
3666 if (DiagnoseUninstantiableTemplate(PointOfInstantiation, Instantiation, in InstantiateEnum()
3667 Instantiation->getInstantiatedFromMemberEnum(), in InstantiateEnum()
3674 = Instantiation->getMemberSpecializationInfo()) { in InstantiateEnum()
3679 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateEnum()
3684 PrettyDeclStackTraceEntry CrashInfo(Context, Instantiation, SourceLocation(), in InstantiateEnum()
3689 Instantiation->setVisibleDespiteOwningModule(); in InstantiateEnum()
3693 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum()
3700 InstantiateAttrs(TemplateArgs, Pattern, Instantiation); in InstantiateEnum()
3702 TemplateDeclInstantiator Instantiator(*this, Instantiation, TemplateArgs); in InstantiateEnum()
3703 Instantiator.InstantiateEnumDefinition(Instantiation, Pattern); in InstantiateEnum()
3708 return Instantiation->isInvalidDecl(); in InstantiateEnum()
3712 SourceLocation PointOfInstantiation, FieldDecl *Instantiation, in InstantiateInClassInitializer() argument
3718 assert(Instantiation->getInClassInitStyle() == in InstantiateInClassInitializer()
3733 Instantiation->setInvalidDecl(); in InstantiateInClassInitializer()
3737 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateInClassInitializer()
3743 << Instantiation; in InstantiateInClassInitializer()
3746 PrettyDeclStackTraceEntry CrashInfo(Context, Instantiation, SourceLocation(), in InstantiateInClassInitializer()
3751 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
3755 PointOfInstantiation, Instantiation, CurContext}; in InstantiateInClassInitializer()
3761 CXXThisScopeRAII ThisScope(*this, Instantiation->getParent(), Qualifiers()); in InstantiateInClassInitializer()
3768 Instantiation, Init ? Init->getBeginLoc() : SourceLocation(), Init); in InstantiateInClassInitializer()
3771 L->DefaultMemberInitializerInstantiated(Instantiation); in InstantiateInClassInitializer()
3774 return !Instantiation->getInClassInitializer(); in InstantiateInClassInitializer()
3980 CXXRecordDecl *Instantiation, in InstantiateClassMembers() argument
3989 (TSK == TSK_ImplicitInstantiation && Instantiation->isLocalClass())) && in InstantiateClassMembers()
3991 for (auto *D : Instantiation->decls()) { in InstantiateClassMembers()
4195 Instantiation->getTemplateInstantiationPattern(); in InstantiateClassMembers()