Searched refs:OldTemplate (Results 1 – 3 of 3) sorted by relevance
1300 FunctionTemplateDecl *OldTemplate = Old->getDescribedFunctionTemplate(); in IsOverloadOrOverrideImpl() local1306 if ((OldTemplate == nullptr) != (NewTemplate == nullptr)) in IsOverloadOrOverrideImpl()1344 OldDecl = OldTemplate; in IsOverloadOrOverrideImpl()1356 NewTemplate, NewTemplate->getTemplateParameters(), OldTemplate, in IsOverloadOrOverrideImpl()1357 OldTemplate->getTemplateParameters(), false, Sema::TPL_TemplateMatch); in IsOverloadOrOverrideImpl()1365 OldTemplate->getTemplateParameters()->hasAssociatedConstraints(); in IsOverloadOrOverrideImpl()
4471 VarTemplateDecl *OldTemplate = nullptr; in MergeVarDecl() local4474 OldTemplate = dyn_cast<VarTemplateDecl>(Previous.getFoundDecl()); in MergeVarDecl()4475 Old = OldTemplate ? OldTemplate->getTemplatedDecl() : nullptr; in MergeVarDecl()4505 OldTemplate->getTemplateParameters(), in MergeVarDecl()4687 NewTemplate->setPreviousDecl(OldTemplate); in MergeVarDecl()
4518 TemplateDecl *OldTemplate = Name.getCXXDeductionGuideTemplate(); in TransformDeclarationNameInfo() local4520 getDerived().TransformDecl(NameInfo.getLoc(), OldTemplate)); in TransformDeclarationNameInfo()