Lines Matching refs:FoundFunction
2984 if (FunctionDecl *FoundFunction = *FoundFunctionOrErr) { in VisitFunctionDecl() local
2985 if (D->doesThisDeclarationHaveABody() && FoundFunction->hasBody()) in VisitFunctionDecl()
2986 return Importer.MapImported(D, FoundFunction); in VisitFunctionDecl()
2987 FoundByLookup = FoundFunction; in VisitFunctionDecl()
3000 if (auto *FoundFunction = dyn_cast<FunctionDecl>(FoundDecl)) { in VisitFunctionDecl() local
3001 if (FoundFunction->hasExternalFormalLinkage() && in VisitFunctionDecl()
3003 if (IsStructuralMatch(D, FoundFunction)) { in VisitFunctionDecl()
3006 FoundFunction->hasBody(Definition)) { in VisitFunctionDecl()
3010 FoundByLookup = FoundFunction; in VisitFunctionDecl()
3023 << Name << D->getType() << FoundFunction->getType(); in VisitFunctionDecl()
3024 Importer.ToDiag(FoundFunction->getLocation(), in VisitFunctionDecl()
3026 << FoundFunction->getType(); in VisitFunctionDecl()
5493 if (auto *FoundFunction = in VisitFunctionTemplateDecl() local
5495 if (FoundFunction->hasExternalFormalLinkage() && in VisitFunctionTemplateDecl()
5497 if (IsStructuralMatch(D, FoundFunction)) { in VisitFunctionTemplateDecl()
5498 Importer.MapImported(D, FoundFunction); in VisitFunctionTemplateDecl()
5500 return FoundFunction; in VisitFunctionTemplateDecl()