Lines Matching refs:ToFunction
2426 *ToFunction = ToType->getAs<FunctionProtoType>();
2429 if (!FromFunction || !ToFunction) {
2434 if (FromFunction->getNumArgs() != ToFunction->getNumArgs()) {
2435 PDiag << ft_parameter_arity << ToFunction->getNumArgs()
2442 if (!FunctionArgTypesAreEqual(FromFunction, ToFunction, &ArgPos)) {
2444 << ToFunction->getArgType(ArgPos)
2451 ToFunction->getResultType())) {
2452 PDiag << ft_return_type << ToFunction->getResultType()
2458 ToQuals = ToFunction->getTypeQuals();