Searched refs:PrevVar (Results 1 – 2 of 2) sorted by relevance
589 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() local590 if (PrevVar) in getLVForNamespaceScopeDecl()591 return getLVForDecl(PrevVar, computation); in getLVForNamespaceScopeDecl()599 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() local600 PrevVar = PrevVar->getPreviousDecl()) { in getLVForNamespaceScopeDecl()601 if (PrevVar->getStorageClass() == SC_PrivateExtern && in getLVForNamespaceScopeDecl()603 return PrevVar->getLinkageAndVisibility(); in getLVForNamespaceScopeDecl()605 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
6811 VarDecl *PrevVar; in CheckMemberSpecialization() local6813 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization()6814 if (PrevVar->isStaticDataMember()) { in CheckMemberSpecialization()6815 Instantiation = PrevVar; in CheckMemberSpecialization()6816 InstantiatedFrom = PrevVar->getInstantiatedFromStaticDataMember(); in CheckMemberSpecialization()6817 MSInfo = PrevVar->getMemberSpecializationInfo(); in CheckMemberSpecialization()