Home
last modified time | relevance | path

Searched refs:PrevVar (Results 1 – 5 of 5) 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/llvm-project/clang/lib/AST/
DDecl.cpp659 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() local
660 if (PrevVar) in getLVForNamespaceScopeDecl()
661 return getLVForDecl(PrevVar, computation); in getLVForNamespaceScopeDecl()
669 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() local
670 PrevVar = PrevVar->getPreviousDecl()) { in getLVForNamespaceScopeDecl()
671 if (PrevVar->getStorageClass() == SC_PrivateExtern && in getLVForNamespaceScopeDecl()
673 return getDeclLinkageAndVisibility(PrevVar); in getLVForNamespaceScopeDecl()
675 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()
/external/llvm-project/clang/lib/Sema/
DSemaTemplate.cpp9233 VarDecl *PrevVar; in CheckMemberSpecialization() local
9235 (PrevVar = dyn_cast<VarDecl>(Previous.getFoundDecl()))) in CheckMemberSpecialization()
9236 if (PrevVar->isStaticDataMember()) { in CheckMemberSpecialization()
9238 Instantiation = PrevVar; in CheckMemberSpecialization()
9239 InstantiatedFrom = PrevVar->getInstantiatedFromStaticDataMember(); in CheckMemberSpecialization()
9240 MSInfo = PrevVar->getMemberSpecializationInfo(); in CheckMemberSpecialization()
/external/llvm-project/polly/lib/Analysis/
DScopInfo.cpp439 isl::aff PrevVar = in wrapConstantDimensions() local
450 Divide = Divide.add(PrevVar); in wrapConstantDimensions()