Lines Matching refs:FirstFunction
1652 const FunctionDecl *FirstFunction, in diagnoseMismatch() argument
1654 if (FirstFunction == SecondFunction) in diagnoseMismatch()
1667 std::string FirstModule = getOwningModuleNameForDiagnostic(FirstFunction); in diagnoseMismatch()
1670 auto DiagError = [FirstFunction, &FirstModule, in diagnoseMismatch()
1674 << FirstFunction << FirstModule.empty() << FirstModule << Range in diagnoseMismatch()
1683 if (computeODRHash(FirstFunction->getReturnType()) != in diagnoseMismatch()
1685 DiagError(FirstFunction->getReturnTypeSourceRange().getBegin(), in diagnoseMismatch()
1686 FirstFunction->getReturnTypeSourceRange(), ReturnType) in diagnoseMismatch()
1687 << FirstFunction->getReturnType(); in diagnoseMismatch()
1694 assert(FirstFunction->param_size() == SecondFunction->param_size() && in diagnoseMismatch()
1697 size_t ParamSize = FirstFunction->param_size(); in diagnoseMismatch()
1699 const ParmVarDecl *FirstParam = FirstFunction->getParamDecl(I); in diagnoseMismatch()
1776 DiagError(FirstFunction->getLocation(), FirstFunction->getSourceRange(), in diagnoseMismatch()