Searched refs:FoundVar (Results 1 – 1 of 1) sorted by relevance
3566 if (auto *FoundVar = dyn_cast<VarDecl>(FoundDecl)) { in VisitVarDecl() local3568 if (FoundVar->hasExternalFormalLinkage() && in VisitVarDecl()3571 FoundVar->getType())) { in VisitVarDecl()3575 VarDecl *FoundDef = FoundVar->getDefinition(); in VisitVarDecl()3584 if (D->getInit() && FoundVar->getAnyInitializer(FoundDInit)) in VisitVarDecl()3588 FoundByLookup = FoundVar; in VisitVarDecl()3601 FoundVar->setType(*TyOrErr); in VisitVarDecl()3605 FoundByLookup = FoundVar; in VisitVarDecl()3609 FoundByLookup = FoundVar; in VisitVarDecl()3615 << Name << D->getType() << FoundVar->getType(); in VisitVarDecl()[all …]