Lines Matching refs:OldParm
584 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm,
4078 ParmVarDecl *OldParm, int indexAdjustment, Optional<unsigned> NumExpansions,
4080 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo();
4115 return OldParm;
4118 OldParm->getDeclContext(),
4119 OldParm->getInnerLocStart(),
4120 OldParm->getLocation(),
4121 OldParm->getIdentifier(),
4124 OldParm->getStorageClass(),
4126 newParm->setScopeInfo(OldParm->getFunctionScopeDepth(),
4127 OldParm->getFunctionScopeIndex() + indexAdjustment);
4141 if (ParmVarDecl *OldParm = Params[i]) {
4142 assert(OldParm->getFunctionScopeIndex() == i);
4146 if (OldParm->isParameterPack()) {
4151 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc();
4175 getDerived().ExpandingFunctionParameterPack(OldParm);
4179 = getDerived().TransformFunctionTypeParam(OldParm,
4196 = getDerived().TransformFunctionTypeParam(OldParm,
4221 NewParm = getDerived().TransformFunctionTypeParam(OldParm,
4227 OldParm, indexAdjustment, None, /*ExpectParameterPack=*/ false);