Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDecl.cpp589 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() local
590 if (PrevVar) in getLVForNamespaceScopeDecl()
591 return getLVForDecl(PrevVar, computation); in getLVForNamespaceScopeDecl()
599 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() local
600 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()
/external/clang/lib/Sema/
DSemaTemplate.cpp6811 VarDecl *PrevVar; in CheckMemberSpecialization() local
6813 (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()