Searched refs:FromFunction (Results 1 – 1 of 1) sorted by relevance
2532 const FunctionProtoType *FromFunction = FromType->getAs<FunctionProtoType>(), in HandleFunctionTypeMismatch() local2536 if (!FromFunction || !ToFunction) { in HandleFunctionTypeMismatch()2541 if (FromFunction->getNumParams() != ToFunction->getNumParams()) { in HandleFunctionTypeMismatch()2543 << FromFunction->getNumParams(); in HandleFunctionTypeMismatch()2549 if (!FunctionParamTypesAreEqual(FromFunction, ToFunction, &ArgPos)) { in HandleFunctionTypeMismatch()2552 << FromFunction->getParamType(ArgPos); in HandleFunctionTypeMismatch()2557 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch()2560 << FromFunction->getReturnType(); in HandleFunctionTypeMismatch()2564 unsigned FromQuals = FromFunction->getTypeQuals(), in HandleFunctionTypeMismatch()