Searched refs:FromFunction (Results 1 – 1 of 1) sorted by relevance
2651 const FunctionProtoType *FromFunction = tryGetFunctionProtoType(FromType), in HandleFunctionTypeMismatch() local2655 if (!FromFunction || !ToFunction) { in HandleFunctionTypeMismatch()2660 if (FromFunction->getNumParams() != ToFunction->getNumParams()) { in HandleFunctionTypeMismatch()2662 << FromFunction->getNumParams(); in HandleFunctionTypeMismatch()2668 if (!FunctionParamTypesAreEqual(FromFunction, ToFunction, &ArgPos)) { in HandleFunctionTypeMismatch()2671 << FromFunction->getParamType(ArgPos); in HandleFunctionTypeMismatch()2676 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch()2679 << FromFunction->getReturnType(); in HandleFunctionTypeMismatch()2683 unsigned FromQuals = FromFunction->getTypeQuals(), in HandleFunctionTypeMismatch()