Lines Matching refs:Instantiation

1745 Sema::SubstBaseSpecifiers(CXXRecordDecl *Instantiation,  in SubstBaseSpecifiers()  argument
1754 Instantiation->setInvalidDecl(); in SubstBaseSpecifiers()
1796 = CheckBaseSpecifier(Instantiation, in SubstBaseSpecifiers()
1830 = CheckBaseSpecifier(Instantiation, in SubstBaseSpecifiers()
1842 AttachBaseSpecifiers(Instantiation, InstantiatedBases.data(), in SubstBaseSpecifiers()
1861 TagDecl *Instantiation, in DiagnoseUninstantiableTemplate() argument
1877 << S.Context.getTypeDeclType(Instantiation); in DiagnoseUninstantiableTemplate()
1880 Instantiation->setInvalidDecl(); in DiagnoseUninstantiableTemplate()
1884 << S.Context.getTypeDeclType(Instantiation); in DiagnoseUninstantiableTemplate()
1889 << S.Context.getTypeDeclType(Instantiation); in DiagnoseUninstantiableTemplate()
1898 Instantiation->setInvalidDecl(); in DiagnoseUninstantiableTemplate()
1926 CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern, in InstantiateClass() argument
1932 if (DiagnoseUninstantiableTemplate(*this, PointOfInstantiation, Instantiation, in InstantiateClass()
1933 Instantiation->getInstantiatedFromMemberClass(), in InstantiateClass()
1940 = Instantiation->getMemberSpecializationInfo()) { in InstantiateClass()
1944 = dyn_cast<ClassTemplateSpecializationDecl>(Instantiation)) { in InstantiateClass()
1949 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateClass()
1955 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass()
1962 bool MergeWithParentScope = !Instantiation->isDefinedOutsideFunctionOrMethod(); in InstantiateClass()
1966 InstantiateAttrs(TemplateArgs, Pattern, Instantiation); in InstantiateClass()
1969 Instantiation->startDefinition(); in InstantiateClass()
1973 Instantiation->setHidden(false); in InstantiateClass()
1976 Instantiation->setTagKind(Pattern->getTagKind()); in InstantiateClass()
1979 if (SubstBaseSpecifiers(Instantiation, Pattern, TemplateArgs)) in InstantiateClass()
1980 Instantiation->setInvalidDecl(); in InstantiateClass()
1982 TemplateDeclInstantiator Instantiator(*this, Instantiation, TemplateArgs); in InstantiateClass()
2002 Instantiation->setInvalidDecl(); in InstantiateClass()
2026 Instantiation->setInvalidDecl(); in InstantiateClass()
2032 Instantiation->setInvalidDecl(); in InstantiateClass()
2042 ActOnFields(nullptr, Instantiation->getLocation(), Instantiation, Fields, in InstantiateClass()
2044 CheckCompletedCXXClass(Instantiation); in InstantiateClass()
2048 ActOnFinishCXXMemberDefaultArgs(Instantiation); in InstantiateClass()
2073 ActOnFinishDelayedMemberInitializers(Instantiation); in InstantiateClass()
2078 Instantiation->setLocation(Pattern->getLocation()); in InstantiateClass()
2079 Instantiation->setLocStart(Pattern->getInnerLocStart()); in InstantiateClass()
2080 Instantiation->setRBraceLoc(Pattern->getRBraceLoc()); in InstantiateClass()
2083 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2095 Instantiation->setInvalidDecl(); in InstantiateClass()
2108 Instantiation->setInvalidDecl(); in InstantiateClass()
2117 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2118 Consumer.HandleTagDeclDefinition(Instantiation); in InstantiateClass()
2123 MarkVTableUsed(PointOfInstantiation, Instantiation, true); in InstantiateClass()
2126 return Instantiation->isInvalidDecl(); in InstantiateClass()
2145 EnumDecl *Instantiation, EnumDecl *Pattern, in InstantiateEnum() argument
2149 if (DiagnoseUninstantiableTemplate(*this, PointOfInstantiation, Instantiation, in InstantiateEnum()
2150 Instantiation->getInstantiatedFromMemberEnum(), in InstantiateEnum()
2157 = Instantiation->getMemberSpecializationInfo()) { in InstantiateEnum()
2162 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateEnum()
2168 Instantiation->setHidden(false); in InstantiateEnum()
2172 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum()
2179 InstantiateAttrs(TemplateArgs, Pattern, Instantiation); in InstantiateEnum()
2181 TemplateDeclInstantiator Instantiator(*this, Instantiation, TemplateArgs); in InstantiateEnum()
2182 Instantiator.InstantiateEnumDefinition(Instantiation, Pattern); in InstantiateEnum()
2187 return Instantiation->isInvalidDecl(); in InstantiateEnum()
2206 SourceLocation PointOfInstantiation, FieldDecl *Instantiation, in InstantiateInClassInitializer() argument
2212 assert(Instantiation->getInClassInitStyle() == in InstantiateInClassInitializer()
2230 Instantiation->setInvalidDecl(); in InstantiateInClassInitializer()
2234 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateInClassInitializer()
2240 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
2248 CXXThisScopeRAII ThisScope(*this, Instantiation->getParent(), /*TypeQuals=*/0); in InstantiateInClassInitializer()
2255 Instantiation, Init ? Init->getLocStart() : SourceLocation(), Init); in InstantiateInClassInitializer()
2261 return !Instantiation->getInClassInitializer(); in InstantiateInClassInitializer()
2449 CXXRecordDecl *Instantiation, in InstantiateClassMembers() argument
2458 (TSK == TSK_ImplicitInstantiation && Instantiation->isLocalClass())) && in InstantiateClassMembers()
2460 for (auto *D : Instantiation->decls()) { in InstantiateClassMembers()
2633 Instantiation->getTemplateInstantiationPattern(); in InstantiateClassMembers()