Searched refs:FirstFunction (Results 1 – 4 of 4) sorted by relevance
1662 const FunctionDecl *FirstFunction, in diagnoseMismatch() argument1664 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()[all …]
29 bool diagnoseMismatch(const FunctionDecl *FirstFunction,
1806 bool FirstFunction = false) { in replaceArgumentUses() argument1811 if (FirstFunction) in replaceArgumentUses()1881 if (FirstFunction) in replaceArgumentUses()1902 if (FirstFunction) { in replaceArgumentUses()
10148 FunctionDecl *FirstFunction = Merge.first; in diagnoseOdrViolations() local10151 if (DiagsEmitter.diagnoseMismatch(FirstFunction, SecondFunction)) { in diagnoseOdrViolations()