Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1641 ParmVarDecl *NewParm = CheckParameter(Context.getTranslationUnitDecl(), in SubstParmVarDecl() local
1647 if (!NewParm) in SubstParmVarDecl()
1653 NewParm->setUninstantiatedDefaultArg(Arg); in SubstParmVarDecl()
1655 NewParm->setUnparsedDefaultArg(); in SubstParmVarDecl()
1656 UnparsedDefaultArgInstantiations[OldParm].push_back(NewParm); in SubstParmVarDecl()
1661 NewParm->setUninstantiatedDefaultArg(Arg); in SubstParmVarDecl()
1663 NewParm->setHasInheritedDefaultArg(OldParm->hasInheritedDefaultArg()); in SubstParmVarDecl()
1665 if (OldParm->isParameterPack() && !NewParm->isParameterPack()) { in SubstParmVarDecl()
1667 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl()
1670 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl()
[all …]
DTreeTransform.h4293 ParmVarDecl *NewParm = nullptr; in TransformFunctionTypeParams() local
4326 ParmVarDecl *NewParm in TransformFunctionTypeParams() local
4331 if (!NewParm) in TransformFunctionTypeParams()
4334 OutParamTypes.push_back(NewParm->getType()); in TransformFunctionTypeParams()
4336 PVars->push_back(NewParm); in TransformFunctionTypeParams()
4343 ParmVarDecl *NewParm in TransformFunctionTypeParams() local
4348 if (!NewParm) in TransformFunctionTypeParams()
4351 OutParamTypes.push_back(NewParm->getType()); in TransformFunctionTypeParams()
4353 PVars->push_back(NewParm); in TransformFunctionTypeParams()
4369 NewParm = getDerived().TransformFunctionTypeParam(OldParm, in TransformFunctionTypeParams()
[all …]
DSemaTemplate.cpp5505 TemplateParameterList::iterator NewParm = New->begin(); in TemplateParameterListsAreEqual() local
5512 if (NewParm == NewParmEnd) { in TemplateParameterListsAreEqual()
5520 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
5524 ++NewParm; in TemplateParameterListsAreEqual()
5535 for (; NewParm != NewParmEnd; ++NewParm) { in TemplateParameterListsAreEqual()
5536 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
5543 if (NewParm != NewParmEnd) { in TemplateParameterListsAreEqual()
DSemaDecl.cpp2301 ParmVarDecl *NewParm; member
2834 ParmVarDecl *NewParm = New->getParamDecl(Idx); in MergeFunctionDecl() local
2837 ArgTypes.push_back(NewParm->getType()); in MergeFunctionDecl()
2839 NewParm->getType(), in MergeFunctionDecl()
2841 GNUCompatibleParamWarning Warn = { OldParm, NewParm, in MergeFunctionDecl()
2844 ArgTypes.push_back(NewParm->getType()); in MergeFunctionDecl()
2851 Diag(Warnings[Warn].NewParm->getLocation(), in MergeFunctionDecl()