Home
last modified time | relevance | path

Searched refs:PrevVar (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/AST/
DDecl.cpp603 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() local
604 if (PrevVar) in getLVForNamespaceScopeDecl()
605 return getLVForDecl(PrevVar, computation); in getLVForNamespaceScopeDecl()
613 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() local
614 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()
/external/clang/lib/Sema/
DSemaTemplate.cpp7087 VarDecl *PrevVar; in CheckMemberSpecialization() local
7089 (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()