Lines Matching refs:FirstFunction
1662 const FunctionDecl *FirstFunction, in diagnoseMismatch() argument
1664 if (FirstFunction == SecondFunction) in diagnoseMismatch()
1677 std::string FirstModule = getOwningModuleNameForDiagnostic(FirstFunction); in diagnoseMismatch()
1680 auto DiagError = [FirstFunction, &FirstModule, in diagnoseMismatch()
1684 << FirstFunction << FirstModule.empty() << FirstModule << Range in diagnoseMismatch()
1693 if (computeODRHash(FirstFunction->getReturnType()) != in diagnoseMismatch()
1695 DiagError(FirstFunction->getReturnTypeSourceRange().getBegin(), in diagnoseMismatch()
1696 FirstFunction->getReturnTypeSourceRange(), ReturnType) in diagnoseMismatch()
1697 << FirstFunction->getReturnType(); in diagnoseMismatch()
1704 assert(FirstFunction->param_size() == SecondFunction->param_size() && in diagnoseMismatch()
1707 size_t ParamSize = FirstFunction->param_size(); in diagnoseMismatch()
1709 const ParmVarDecl *FirstParam = FirstFunction->getParamDecl(I); in diagnoseMismatch()
1787 DiagError(FirstFunction->getLocation(), FirstFunction->getSourceRange(), in diagnoseMismatch()