Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplate.cpp1122 ClassTemplateDecl *NewTemplate in CheckClassTemplate() local
1126 NewClass->setDescribedClassTemplate(NewTemplate); in CheckClassTemplate()
1129 NewTemplate->setModulePrivate(); in CheckClassTemplate()
1132 QualType T = NewTemplate->getInjectedClassNameSpecialization(); in CheckClassTemplate()
1144 if (!Invalid && TUK != TUK_Friend && NewTemplate->getDeclContext()->isRecord()) in CheckClassTemplate()
1145 SetMemberAccessSpecifier(NewTemplate, PrevClassTemplate, AS); in CheckClassTemplate()
1149 NewTemplate->setLexicalDeclContext(CurContext); in CheckClassTemplate()
1167 PushOnScopeChains(NewTemplate, Outer); in CheckClassTemplate()
1170 NewTemplate->setAccess(PrevClassTemplate->getAccess()); in CheckClassTemplate()
1174 NewTemplate->setObjectOfFriendDecl(); in CheckClassTemplate()
[all …]
DSemaDecl.cpp3476 VarTemplateDecl *NewTemplate = New->getDescribedVarTemplate(); in MergeVarDecl() local
3482 if (NewTemplate) { in MergeVarDecl()
3488 if (checkUsingShadowRedecl<VarTemplateDecl>(*this, Shadow, NewTemplate)) in MergeVarDecl()
3508 if (NewTemplate && in MergeVarDecl()
3509 !TemplateParameterListsAreEqual(NewTemplate->getTemplateParameters(), in MergeVarDecl()
3699 if (NewTemplate) in MergeVarDecl()
3700 NewTemplate->setPreviousDecl(OldTemplate); in MergeVarDecl()
3704 if (NewTemplate) in MergeVarDecl()
3705 NewTemplate->setAccess(New->getAccess()); in MergeVarDecl()
5973 VarTemplateDecl *NewTemplate = nullptr; in ActOnVariableDeclarator() local
[all …]
DSemaOverload.cpp1005 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverload() local
1010 if ((OldTemplate == nullptr) != (NewTemplate == nullptr)) in IsOverload()
1051 if (!UseMemberUsingDeclRules && NewTemplate && in IsOverload()
1052 (!TemplateParameterListsAreEqual(NewTemplate->getTemplateParameters(), in IsOverload()
/external/llvm-project/clang/lib/Sema/
DSemaTemplate.cpp1972 ClassTemplateDecl *NewTemplate in CheckClassTemplate() local
1978 NewTemplate->setPreviousDecl(PrevClassTemplate); in CheckClassTemplate()
1980 NewClass->setDescribedClassTemplate(NewTemplate); in CheckClassTemplate()
1983 NewTemplate->setModulePrivate(); in CheckClassTemplate()
1986 QualType T = NewTemplate->getInjectedClassNameSpecialization(); in CheckClassTemplate()
1998 if (!Invalid && TUK != TUK_Friend && NewTemplate->getDeclContext()->isRecord()) in CheckClassTemplate()
1999 SetMemberAccessSpecifier(NewTemplate, PrevClassTemplate, AS); in CheckClassTemplate()
2003 NewTemplate->setLexicalDeclContext(CurContext); in CheckClassTemplate()
2021 PushOnScopeChains(NewTemplate, Outer); in CheckClassTemplate()
2024 NewTemplate->setAccess(PrevClassTemplate->getAccess()); in CheckClassTemplate()
[all …]
DSemaDecl.cpp4022 VarTemplateDecl *NewTemplate = New->getDescribedVarTemplate(); in MergeVarDecl() local
4028 if (NewTemplate) { in MergeVarDecl()
4034 if (checkUsingShadowRedecl<VarTemplateDecl>(*this, Shadow, NewTemplate)) in MergeVarDecl()
4054 if (NewTemplate && in MergeVarDecl()
4055 !TemplateParameterListsAreEqual(NewTemplate->getTemplateParameters(), in MergeVarDecl()
4235 if (NewTemplate) in MergeVarDecl()
4236 NewTemplate->setPreviousDecl(OldTemplate); in MergeVarDecl()
4241 if (NewTemplate) in MergeVarDecl()
4242 NewTemplate->setAccess(New->getAccess()); in MergeVarDecl()
6900 VarTemplateDecl *NewTemplate = nullptr; in ActOnVariableDeclarator() local
[all …]
DSemaOverload.cpp1155 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverload() local
1160 if ((OldTemplate == nullptr) != (NewTemplate == nullptr)) in IsOverload()
1201 if (!UseMemberUsingDeclRules && NewTemplate && in IsOverload()
1202 (!TemplateParameterListsAreEqual(NewTemplate->getTemplateParameters(), in IsOverload()
DTreeTransform.h4075 TemplateDecl *NewTemplate = cast_or_null<TemplateDecl>( in TransformDeclarationNameInfo() local
4077 if (!NewTemplate) in TransformDeclarationNameInfo()
4082 SemaRef.Context.DeclarationNames.getCXXDeductionGuideName(NewTemplate)); in TransformDeclarationNameInfo()