Lines Matching refs:FoundVar
4078 if (auto *FoundVar = dyn_cast<VarDecl>(FoundDecl)) { in VisitVarDecl() local
4079 if (!hasSameVisibilityContextAndLinkage(FoundVar, D)) in VisitVarDecl()
4082 FoundVar->getType())) { in VisitVarDecl()
4086 VarDecl *FoundDef = FoundVar->getDefinition(); in VisitVarDecl()
4095 if (D->getInit() && FoundVar->getAnyInitializer(FoundDInit)) in VisitVarDecl()
4099 FoundByLookup = FoundVar; in VisitVarDecl()
4104 = Importer.getToContext().getAsArrayType(FoundVar->getType()); in VisitVarDecl()
4112 FoundVar->setType(*TyOrErr); in VisitVarDecl()
4116 FoundByLookup = FoundVar; in VisitVarDecl()
4120 FoundByLookup = FoundVar; in VisitVarDecl()
4126 << Name << D->getType() << FoundVar->getType(); in VisitVarDecl()
4127 Importer.ToDiag(FoundVar->getLocation(), diag::note_odr_value_here) in VisitVarDecl()
4128 << FoundVar->getType(); in VisitVarDecl()