Searched refs:NewTemplate (Results 1 – 4 of 4) sorted by relevance
2084 ClassTemplateDecl *NewTemplate in CheckClassTemplate() local2090 NewTemplate->setPreviousDecl(PrevClassTemplate); in CheckClassTemplate()2092 NewClass->setDescribedClassTemplate(NewTemplate); in CheckClassTemplate()2095 NewTemplate->setModulePrivate(); in CheckClassTemplate()2098 QualType T = NewTemplate->getInjectedClassNameSpecialization(); in CheckClassTemplate()2111 NewTemplate->getDeclContext()->isRecord()) in CheckClassTemplate()2112 SetMemberAccessSpecifier(NewTemplate, PrevClassTemplate, AS); in CheckClassTemplate()2116 NewTemplate->setLexicalDeclContext(CurContext); in CheckClassTemplate()2136 PushOnScopeChains(NewTemplate, Outer); in CheckClassTemplate()2139 NewTemplate->setAccess(PrevClassTemplate->getAccess()); in CheckClassTemplate()[all …]
3552 if (FunctionTemplateDecl *NewTemplate = in MergeFunctionDecl() local3555 NewTemplate)) in MergeFunctionDecl()4467 VarTemplateDecl *NewTemplate = New->getDescribedVarTemplate(); in MergeVarDecl() local4473 if (NewTemplate) { in MergeVarDecl()4479 if (checkUsingShadowRedecl<VarTemplateDecl>(*this, Shadow, NewTemplate)) in MergeVarDecl()4503 if (NewTemplate && in MergeVarDecl()4504 !TemplateParameterListsAreEqual(NewTemplate->getTemplateParameters(), in MergeVarDecl()4686 if (NewTemplate) in MergeVarDecl()4687 NewTemplate->setPreviousDecl(OldTemplate); in MergeVarDecl()4691 if (NewTemplate) in MergeVarDecl()[all …]
1301 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverloadOrOverrideImpl() local1306 if ((OldTemplate == nullptr) != (NewTemplate == nullptr)) in IsOverloadOrOverrideImpl()1343 if (NewTemplate) { in IsOverloadOrOverrideImpl()1345 NewDecl = NewTemplate; in IsOverloadOrOverrideImpl()1356 NewTemplate, NewTemplate->getTemplateParameters(), OldTemplate, in IsOverloadOrOverrideImpl()1364 NewTemplate->getTemplateParameters()->hasAssociatedConstraints() || in IsOverloadOrOverrideImpl()
4519 TemplateDecl *NewTemplate = cast_or_null<TemplateDecl>( in TransformDeclarationNameInfo() local4521 if (!NewTemplate) in TransformDeclarationNameInfo()4526 SemaRef.Context.DeclarationNames.getCXXDeductionGuideName(NewTemplate)); in TransformDeclarationNameInfo()