Searched refs:FirstFunction (Results 1 – 4 of 4) sorted by relevance
1652 const FunctionDecl *FirstFunction, in diagnoseMismatch() argument1654 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()[all …]
29 bool diagnoseMismatch(const FunctionDecl *FirstFunction,
1809 bool FirstFunction = false) { in replaceArgumentUses() argument1814 if (FirstFunction) in replaceArgumentUses()1885 if (FirstFunction) in replaceArgumentUses()1906 if (FirstFunction) { in replaceArgumentUses()
9734 FunctionDecl *FirstFunction = Merge.first; in diagnoseOdrViolations() local9737 if (DiagsEmitter.diagnoseMismatch(FirstFunction, SecondFunction)) { in diagnoseOdrViolations()