Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplate.cpp1067 ClassTemplateDecl *NewTemplate in CheckClassTemplate() local
1071 NewClass->setDescribedClassTemplate(NewTemplate); in CheckClassTemplate()
1074 NewTemplate->setModulePrivate(); in CheckClassTemplate()
1077 QualType T = NewTemplate->getInjectedClassNameSpecialization(); in CheckClassTemplate()
1089 if (!Invalid && TUK != TUK_Friend && NewTemplate->getDeclContext()->isRecord()) in CheckClassTemplate()
1090 SetMemberAccessSpecifier(NewTemplate, PrevClassTemplate, AS); in CheckClassTemplate()
1094 NewTemplate->setLexicalDeclContext(CurContext); in CheckClassTemplate()
1108 PushOnScopeChains(NewTemplate, S); in CheckClassTemplate()
1111 NewTemplate->setAccess(PrevClassTemplate->getAccess()); in CheckClassTemplate()
1115 NewTemplate->setObjectOfFriendDecl(); in CheckClassTemplate()
[all …]
DSemaDecl.cpp3098 VarTemplateDecl *NewTemplate = New->getDescribedVarTemplate(); in MergeVarDecl() local
3104 if (NewTemplate) { in MergeVarDecl()
3122 if (NewTemplate && in MergeVarDecl()
3123 !TemplateParameterListsAreEqual(NewTemplate->getTemplateParameters(), in MergeVarDecl()
3265 if (NewTemplate) in MergeVarDecl()
3266 NewTemplate->setPreviousDecl(OldTemplate); in MergeVarDecl()
3270 if (NewTemplate) in MergeVarDecl()
3271 NewTemplate->setAccess(New->getAccess()); in MergeVarDecl()
5319 VarTemplateDecl *NewTemplate = nullptr; in ActOnVariableDeclarator() local
5448 NewTemplate = in ActOnVariableDeclarator()
[all …]
DSemaOverload.cpp982 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverload() local
987 if ((OldTemplate == nullptr) != (NewTemplate == nullptr)) in IsOverload()
1028 if (!UseUsingDeclRules && NewTemplate && in IsOverload()
1029 (!TemplateParameterListsAreEqual(NewTemplate->getTemplateParameters(), in IsOverload()