Searched refs:PrevVar (Results 1 – 2 of 2) sorted by relevance
600 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() local601 if (PrevVar) in getLVForNamespaceScopeDecl()602 return getLVForDecl(PrevVar, computation); in getLVForNamespaceScopeDecl()610 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() local611 PrevVar = PrevVar->getPreviousDecl()) { in getLVForNamespaceScopeDecl()612 if (PrevVar->getStorageClass() == SC_PrivateExtern && in getLVForNamespaceScopeDecl()614 return PrevVar->getLinkageAndVisibility(); in getLVForNamespaceScopeDecl()616 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
7021 VarDecl *PrevVar; in CheckMemberSpecialization() local7023 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization()7024 if (PrevVar->isStaticDataMember()) { in CheckMemberSpecialization()7025 Instantiation = PrevVar; in CheckMemberSpecialization()7026 InstantiatedFrom = PrevVar->getInstantiatedFromStaticDataMember(); in CheckMemberSpecialization()7027 MSInfo = PrevVar->getMemberSpecializationInfo(); in CheckMemberSpecialization()