Searched refs:PrevVar (Results 1 – 2 of 2) sorted by relevance
603 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() local604 if (PrevVar) in getLVForNamespaceScopeDecl()605 return getLVForDecl(PrevVar, computation); in getLVForNamespaceScopeDecl()613 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() local614 PrevVar = PrevVar->getPreviousDecl()) { in getLVForNamespaceScopeDecl()615 if (PrevVar->getStorageClass() == SC_PrivateExtern && in getLVForNamespaceScopeDecl()617 return PrevVar->getLinkageAndVisibility(); in getLVForNamespaceScopeDecl()619 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
7087 VarDecl *PrevVar; in CheckMemberSpecialization() local7089 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization()7090 if (PrevVar->isStaticDataMember()) { in CheckMemberSpecialization()7092 Instantiation = PrevVar; in CheckMemberSpecialization()7093 InstantiatedFrom = PrevVar->getInstantiatedFromStaticDataMember(); in CheckMemberSpecialization()7094 MSInfo = PrevVar->getMemberSpecializationInfo(); in CheckMemberSpecialization()