Lines Matching refs:FoundVar
4483 if (auto *FoundVar = dyn_cast<VarDecl>(FoundDecl)) { in VisitVarDecl() local
4484 if (!hasSameVisibilityContextAndLinkage(FoundVar, D)) in VisitVarDecl()
4487 FoundVar->getType())) { in VisitVarDecl()
4491 VarDecl *FoundDef = FoundVar->getDefinition(); in VisitVarDecl()
4500 if (D->getInit() && FoundVar->getAnyInitializer(FoundDInit)) in VisitVarDecl()
4504 FoundByLookup = FoundVar; in VisitVarDecl()
4509 = Importer.getToContext().getAsArrayType(FoundVar->getType()); in VisitVarDecl()
4517 FoundVar->setType(*TyOrErr); in VisitVarDecl()
4521 FoundByLookup = FoundVar; in VisitVarDecl()
4525 FoundByLookup = FoundVar; in VisitVarDecl()
4531 << Name << D->getType() << FoundVar->getType(); in VisitVarDecl()
4532 Importer.ToDiag(FoundVar->getLocation(), diag::note_odr_value_here) in VisitVarDecl()
4533 << FoundVar->getType(); in VisitVarDecl()