Home
last modified time | relevance | path

Searched refs:NewTemplate (Results 1 – 3 of 3) 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()