• Home
  • Raw
  • Download

Lines Matching refs:Instantiation

1737 Sema::SubstBaseSpecifiers(CXXRecordDecl *Instantiation,  in SubstBaseSpecifiers()  argument
1746 Instantiation->setInvalidDecl(); in SubstBaseSpecifiers()
1788 = CheckBaseSpecifier(Instantiation, in SubstBaseSpecifiers()
1822 = CheckBaseSpecifier(Instantiation, in SubstBaseSpecifiers()
1833 if (!Invalid && AttachBaseSpecifiers(Instantiation, InstantiatedBases)) in SubstBaseSpecifiers()
1851 TagDecl *Instantiation, in DiagnoseUninstantiableTemplate() argument
1878 << S.Context.getTypeDeclType(Instantiation); in DiagnoseUninstantiableTemplate()
1881 Instantiation->setInvalidDecl(); in DiagnoseUninstantiableTemplate()
1885 << S.Context.getTypeDeclType(Instantiation); in DiagnoseUninstantiableTemplate()
1890 << S.Context.getTypeDeclType(Instantiation); in DiagnoseUninstantiableTemplate()
1899 Instantiation->setInvalidDecl(); in DiagnoseUninstantiableTemplate()
1927 CXXRecordDecl *Instantiation, CXXRecordDecl *Pattern, in InstantiateClass() argument
1933 if (DiagnoseUninstantiableTemplate(*this, PointOfInstantiation, Instantiation, in InstantiateClass()
1934 Instantiation->getInstantiatedFromMemberClass(), in InstantiateClass()
1941 = Instantiation->getMemberSpecializationInfo()) { in InstantiateClass()
1945 = dyn_cast<ClassTemplateSpecializationDecl>(Instantiation)) { in InstantiateClass()
1950 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateClass()
1953 PrettyDeclStackTraceEntry CrashInfo(*this, Instantiation, SourceLocation(), in InstantiateClass()
1958 ContextRAII SavedContext(*this, Instantiation); in InstantiateClass()
1965 bool MergeWithParentScope = !Instantiation->isDefinedOutsideFunctionOrMethod(); in InstantiateClass()
1976 InstantiateAttrs(TemplateArgs, Pattern, Instantiation); in InstantiateClass()
1979 Instantiation->startDefinition(); in InstantiateClass()
1983 Instantiation->setHidden(false); in InstantiateClass()
1986 Instantiation->setTagKind(Pattern->getTagKind()); in InstantiateClass()
1989 if (SubstBaseSpecifiers(Instantiation, Pattern, TemplateArgs)) in InstantiateClass()
1990 Instantiation->setInvalidDecl(); in InstantiateClass()
1992 TemplateDeclInstantiator Instantiator(*this, Instantiation, TemplateArgs); in InstantiateClass()
2012 Instantiation->setInvalidDecl(); in InstantiateClass()
2036 Instantiation->setInvalidDecl(); in InstantiateClass()
2042 Instantiation->setInvalidDecl(); in InstantiateClass()
2052 ActOnFields(nullptr, Instantiation->getLocation(), Instantiation, Fields, in InstantiateClass()
2054 CheckCompletedCXXClass(Instantiation); in InstantiateClass()
2058 ActOnFinishCXXNonNestedClass(Instantiation); in InstantiateClass()
2086 ActOnFinishDelayedMemberInitializers(Instantiation); in InstantiateClass()
2091 Instantiation->setLocation(Pattern->getLocation()); in InstantiateClass()
2092 Instantiation->setLocStart(Pattern->getInnerLocStart()); in InstantiateClass()
2093 Instantiation->setRBraceLoc(Pattern->getRBraceLoc()); in InstantiateClass()
2096 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2108 Instantiation->setInvalidDecl(); in InstantiateClass()
2121 Instantiation->setInvalidDecl(); in InstantiateClass()
2130 if (!Instantiation->isInvalidDecl()) { in InstantiateClass()
2131 Consumer.HandleTagDeclDefinition(Instantiation); in InstantiateClass()
2136 MarkVTableUsed(PointOfInstantiation, Instantiation, true); in InstantiateClass()
2139 return Instantiation->isInvalidDecl(); in InstantiateClass()
2158 EnumDecl *Instantiation, EnumDecl *Pattern, in InstantiateEnum() argument
2162 if (DiagnoseUninstantiableTemplate(*this, PointOfInstantiation, Instantiation, in InstantiateEnum()
2163 Instantiation->getInstantiatedFromMemberEnum(), in InstantiateEnum()
2170 = Instantiation->getMemberSpecializationInfo()) { in InstantiateEnum()
2175 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateEnum()
2178 PrettyDeclStackTraceEntry CrashInfo(*this, Instantiation, SourceLocation(), in InstantiateEnum()
2183 Instantiation->setHidden(false); in InstantiateEnum()
2187 ContextRAII SavedContext(*this, Instantiation); in InstantiateEnum()
2194 InstantiateAttrs(TemplateArgs, Pattern, Instantiation); in InstantiateEnum()
2196 TemplateDeclInstantiator Instantiator(*this, Instantiation, TemplateArgs); in InstantiateEnum()
2197 Instantiator.InstantiateEnumDefinition(Instantiation, Pattern); in InstantiateEnum()
2202 return Instantiation->isInvalidDecl(); in InstantiateEnum()
2221 SourceLocation PointOfInstantiation, FieldDecl *Instantiation, in InstantiateInClassInitializer() argument
2227 assert(Instantiation->getInClassInitStyle() == in InstantiateInClassInitializer()
2245 Instantiation->setInvalidDecl(); in InstantiateInClassInitializer()
2249 InstantiatingTemplate Inst(*this, PointOfInstantiation, Instantiation); in InstantiateInClassInitializer()
2252 PrettyDeclStackTraceEntry CrashInfo(*this, Instantiation, SourceLocation(), in InstantiateInClassInitializer()
2257 ContextRAII SavedContext(*this, Instantiation->getParent()); in InstantiateInClassInitializer()
2265 CXXThisScopeRAII ThisScope(*this, Instantiation->getParent(), /*TypeQuals=*/0); in InstantiateInClassInitializer()
2272 Instantiation, Init ? Init->getLocStart() : SourceLocation(), Init); in InstantiateInClassInitializer()
2278 return !Instantiation->getInClassInitializer(); in InstantiateInClassInitializer()
2440 CXXRecordDecl *Instantiation, in InstantiateClassMembers() argument
2449 (TSK == TSK_ImplicitInstantiation && Instantiation->isLocalClass())) && in InstantiateClassMembers()
2451 for (auto *D : Instantiation->decls()) { in InstantiateClassMembers()
2630 Instantiation->getTemplateInstantiationPattern(); in InstantiateClassMembers()