Lines Matching refs:FoundFunction
285 Decl *FindAndMapDefinition(FunctionDecl *D, FunctionDecl *FoundFunction) { in FindAndMapDefinition() argument
288 FoundFunction->hasBody(Definition)) in FindAndMapDefinition()
3203 if (FunctionDecl *FoundFunction = *FoundFunctionOrErr) { in VisitFunctionDecl() local
3204 if (Decl *Def = FindAndMapDefinition(D, FoundFunction)) in VisitFunctionDecl()
3206 FoundByLookup = FoundFunction; in VisitFunctionDecl()
3219 if (auto *FoundFunction = dyn_cast<FunctionDecl>(FoundDecl)) { in VisitFunctionDecl() local
3220 if (!hasSameVisibilityContextAndLinkage(FoundFunction, D)) in VisitFunctionDecl()
3223 if (IsStructuralMatch(D, FoundFunction)) { in VisitFunctionDecl()
3224 if (Decl *Def = FindAndMapDefinition(D, FoundFunction)) in VisitFunctionDecl()
3226 FoundByLookup = FoundFunction; in VisitFunctionDecl()
3238 << Name << D->getType() << FoundFunction->getType(); in VisitFunctionDecl()
3239 Importer.ToDiag(FoundFunction->getLocation(), diag::note_odr_value_here) in VisitFunctionDecl()
3240 << FoundFunction->getType(); in VisitFunctionDecl()