Searched refs:PrevVD (Results 1 – 2 of 2) sorted by relevance
3340 auto *PrevVD = cast<VarDecl>(Previous); in attachPreviousDeclImpl() local3341 D->RedeclLink.setPrevious(PrevVD); in attachPreviousDeclImpl()3342 D->First = PrevVD->First; in attachPreviousDeclImpl()3348 for (VarDecl *CurD = PrevVD; CurD; CurD = CurD->getPreviousDecl()) { in attachPreviousDeclImpl()
4339 for (VarDecl *PrevVD = Old->getMostRecentDecl(); PrevVD; in MergeVarDeclTypes() local4340 PrevVD = PrevVD->getPreviousDecl()) { in MergeVarDeclTypes()4341 QualType PrevVDTy = PrevVD->getType(); in MergeVarDeclTypes()4346 return diagnoseVarDeclTypeMismatch(*this, New, PrevVD); in MergeVarDeclTypes()10637 auto *PrevVD = dyn_cast<ValueDecl>(PrevDecl); in shouldLinkDependentDeclWithPrevious() local10638 return !VD || !PrevVD || in shouldLinkDependentDeclWithPrevious()10639 canFullyTypeCheckRedeclaration(VD, PrevVD, VD->getType(), in shouldLinkDependentDeclWithPrevious()10640 PrevVD->getType()); in shouldLinkDependentDeclWithPrevious()