Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1490 ParmVarDecl *NewParm = CheckParameter(Context.getTranslationUnitDecl(), in SubstParmVarDecl() local
1497 if (!NewParm) in SubstParmVarDecl()
1503 NewParm->setUninstantiatedDefaultArg(Arg); in SubstParmVarDecl()
1505 NewParm->setUnparsedDefaultArg(); in SubstParmVarDecl()
1506 UnparsedDefaultArgInstantiations[OldParm].push_back(NewParm); in SubstParmVarDecl()
1508 NewParm->setUninstantiatedDefaultArg(Arg); in SubstParmVarDecl()
1510 NewParm->setHasInheritedDefaultArg(OldParm->hasInheritedDefaultArg()); in SubstParmVarDecl()
1514 if (OldParm->isParameterPack() && !NewParm->isParameterPack()) { in SubstParmVarDecl()
1516 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl()
1519 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl()
[all …]
DTreeTransform.h3821 ParmVarDecl *NewParm = 0; in TransformFunctionTypeParams() local
3855 ParmVarDecl *NewParm in TransformFunctionTypeParams() local
3859 if (!NewParm) in TransformFunctionTypeParams()
3862 OutParamTypes.push_back(NewParm->getType()); in TransformFunctionTypeParams()
3864 PVars->push_back(NewParm); in TransformFunctionTypeParams()
3871 ParmVarDecl *NewParm in TransformFunctionTypeParams() local
3875 if (!NewParm) in TransformFunctionTypeParams()
3878 OutParamTypes.push_back(NewParm->getType()); in TransformFunctionTypeParams()
3880 PVars->push_back(NewParm); in TransformFunctionTypeParams()
3896 NewParm = getDerived().TransformFunctionTypeParam(OldParm, in TransformFunctionTypeParams()
[all …]
DSemaTemplate.cpp4335 TemplateParameterList::iterator NewParm = New->begin(); in TemplateParameterListsAreEqual() local
4342 if (NewParm == NewParmEnd) { in TemplateParameterListsAreEqual()
4350 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
4354 ++NewParm; in TemplateParameterListsAreEqual()
4365 for (; NewParm != NewParmEnd; ++NewParm) { in TemplateParameterListsAreEqual()
4366 if (!MatchTemplateParameterKind(*this, *NewParm, *OldParm, Complain, in TemplateParameterListsAreEqual()
4373 if (NewParm != NewParmEnd) { in TemplateParameterListsAreEqual()
DSemaDecl.cpp1517 ParmVarDecl *NewParm; member
1853 ParmVarDecl *NewParm = New->getParamDecl(Idx); in MergeFunctionDecl() local
1856 ArgTypes.push_back(NewParm->getType()); in MergeFunctionDecl()
1858 NewParm->getType(), in MergeFunctionDecl()
1861 = { OldParm, NewParm, NewProto->getArgType(Idx) }; in MergeFunctionDecl()
1863 ArgTypes.push_back(NewParm->getType()); in MergeFunctionDecl()
1870 Diag(Warnings[Warn].NewParm->getLocation(), in MergeFunctionDecl()