Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDecl.cpp600 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() local
601 if (PrevVar) in getLVForNamespaceScopeDecl()
602 return getLVForDecl(PrevVar, computation); in getLVForNamespaceScopeDecl()
610 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() local
611 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()
/external/clang/lib/Sema/
DSemaTemplate.cpp7021 VarDecl *PrevVar; in CheckMemberSpecialization() local
7023 (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()