Lines Matching refs:Shadow
7794 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() local
7795 PrevShadow = Shadow; in CheckUsingShadowDecl()
7869 UsingShadowDecl *Shadow in BuildUsingShadowDecl() local
7872 UD->addShadowDecl(Shadow); in BuildUsingShadowDecl()
7874 Shadow->setAccess(UD->getAccess()); in BuildUsingShadowDecl()
7876 Shadow->setInvalidDecl(); in BuildUsingShadowDecl()
7878 Shadow->setPreviousDecl(PrevDecl); in BuildUsingShadowDecl()
7881 PushOnScopeChains(Shadow, S); in BuildUsingShadowDecl()
7883 CurContext->addDecl(Shadow); in BuildUsingShadowDecl()
7886 return Shadow; in BuildUsingShadowDecl()
7916 void Sema::HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow) { in HideUsingShadowDecl() argument
7917 if (Shadow->getDeclName().getNameKind() == in HideUsingShadowDecl()
7919 cast<CXXRecordDecl>(Shadow->getDeclContext())->removeConversion(Shadow); in HideUsingShadowDecl()
7922 Shadow->getDeclContext()->removeDecl(Shadow); in HideUsingShadowDecl()
7926 S->RemoveDecl(Shadow); in HideUsingShadowDecl()
7927 IdResolver.RemoveDecl(Shadow); in HideUsingShadowDecl()
7931 Shadow->getUsingDecl()->removeShadowDecl(Shadow); in HideUsingShadowDecl()