Searched refs:OldProtoLoc (Results 1 – 2 of 2) sorted by relevance
3211 if (FunctionProtoTypeLoc OldProtoLoc = OldTL.getAs<FunctionProtoTypeLoc>()) { in SubstFunctionType() local3217 for (unsigned OldIdx = 0, NumOldParams = OldProtoLoc.getNumParams(); in SubstFunctionType()3219 ParmVarDecl *OldParam = OldProtoLoc.getParam(OldIdx); in SubstFunctionType()3248 cast<FunctionProtoType>(OldProtoLoc.getType()); in SubstFunctionType()3249 for (unsigned i = 0, i_end = OldProtoLoc.getNumParams(); i != i_end; in SubstFunctionType()3251 ParmVarDecl *OldParam = OldProtoLoc.getParam(i); in SubstFunctionType()
4152 if (FunctionProtoTypeLoc OldProtoLoc = OldTL.getAs<FunctionProtoTypeLoc>()) { in SubstFunctionType() local4158 for (unsigned OldIdx = 0, NumOldParams = OldProtoLoc.getNumParams(); in SubstFunctionType()4160 ParmVarDecl *OldParam = OldProtoLoc.getParam(OldIdx); in SubstFunctionType()4189 cast<FunctionProtoType>(OldProtoLoc.getType()); in SubstFunctionType()4190 for (unsigned i = 0, i_end = OldProtoLoc.getNumParams(); i != i_end; in SubstFunctionType()4192 ParmVarDecl *OldParam = OldProtoLoc.getParam(i); in SubstFunctionType()