Home
last modified time | relevance | path

Searched refs:NewTemplate (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp2084 ClassTemplateDecl *NewTemplate in CheckClassTemplate() local
2090 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 …]
H A DSemaDecl.cpp3552 if (FunctionTemplateDecl *NewTemplate = in MergeFunctionDecl() local
3555 NewTemplate)) in MergeFunctionDecl()
4467 VarTemplateDecl *NewTemplate = New->getDescribedVarTemplate(); in MergeVarDecl() local
4473 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 …]
H A DSemaOverload.cpp1301 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverloadOrOverrideImpl() local
1306 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()
H A DTreeTransform.h4519 TemplateDecl *NewTemplate = cast_or_null<TemplateDecl>( in TransformDeclarationNameInfo() local
4521 if (!NewTemplate) in TransformDeclarationNameInfo()
4526 SemaRef.Context.DeclarationNames.getCXXDeductionGuideName(NewTemplate)); in TransformDeclarationNameInfo()