Lines Matching defs:Shadow
3563 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) {
3566 Diag(Shadow->getTargetDecl()->getLocation(),
3568 Diag(Shadow->getIntroducer()->getLocation(), diag::note_using_decl)
3577 if (checkUsingShadowRedecl<FunctionTemplateDecl>(*this, Shadow,
3580 OldD = Old = cast<FunctionTemplateDecl>(Shadow->getTargetDecl())
3583 if (checkUsingShadowRedecl<FunctionDecl>(*this, Shadow, New))
3585 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl());
4525 if (auto *Shadow =
4527 if (checkUsingShadowRedecl<VarTemplateDecl>(*this, Shadow, NewTemplate))
4532 if (auto *Shadow =
4534 if (checkUsingShadowRedecl<VarDecl>(*this, Shadow, New))
8427 for (const auto &Shadow : LSI->ShadowingDecls) {
8428 const NamedDecl *ShadowedDecl = Shadow.ShadowedDecl;
8433 Diag(Shadow.VD->getLocation(),
8436 << Shadow.VD->getDeclName()
8440 << Shadow.VD->getDeclName() << /*explicitly*/ 0;
8443 Diag(Shadow.VD->getLocation(),
8446 << Shadow.VD->getDeclName()
17649 if (auto *Shadow = dyn_cast<UsingShadowDecl>(DirectPrevDecl)) {
17653 isDeclInScope(Shadow, SearchDC, S, isMemberSpecialization) &&
17657 Diag(Shadow->getTargetDecl()->getLocation(),
17659 Diag(Shadow->getIntroducer()->getLocation(), diag::note_using_decl)