Lines Matching refs:FoundFunction
300 Decl *FindAndMapDefinition(FunctionDecl *D, FunctionDecl *FoundFunction) { in FindAndMapDefinition() argument
303 FoundFunction->hasBody(Definition)) in FindAndMapDefinition()
3454 if (FunctionDecl *FoundFunction = *FoundFunctionOrErr) { in VisitFunctionDecl() local
3455 if (Decl *Def = FindAndMapDefinition(D, FoundFunction)) in VisitFunctionDecl()
3457 FoundByLookup = FoundFunction; in VisitFunctionDecl()
3470 if (auto *FoundFunction = dyn_cast<FunctionDecl>(FoundDecl)) { in VisitFunctionDecl() local
3471 if (!hasSameVisibilityContextAndLinkage(FoundFunction, D)) in VisitFunctionDecl()
3474 if (IsStructuralMatch(D, FoundFunction)) { in VisitFunctionDecl()
3475 if (Decl *Def = FindAndMapDefinition(D, FoundFunction)) in VisitFunctionDecl()
3477 FoundByLookup = FoundFunction; in VisitFunctionDecl()
3489 << Name << D->getType() << FoundFunction->getType(); in VisitFunctionDecl()
3490 Importer.ToDiag(FoundFunction->getLocation(), diag::note_odr_value_here) in VisitFunctionDecl()
3491 << FoundFunction->getType(); in VisitFunctionDecl()