Lines Matching defs:Shadow
3412 for (auto *Shadow : D->shadows()) {
3416 NamedDecl *OldTarget = Shadow->getTargetDecl();
3417 if (auto *CUSD = dyn_cast<ConstructorUsingShadowDecl>(Shadow))
3423 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) {
3428 Shadow->getLocation(), OldTarget, TemplateArgs));
3438 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow))
3440 Shadow->getLocation(), OldPrev, TemplateArgs));
3444 SemaRef.Context.setInstantiatedFromUsingShadowDecl(InstShadow, Shadow);
3447 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Shadow, InstShadow);
6194 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other))
6195 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx);