Lines Matching full:shadow
1316 /// Removes using shadow declarations from the lookup results.
2670 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) {
2673 Diag(Shadow->getTargetDecl()->getLocation(),
2675 Diag(Shadow->getUsingDecl()->getLocation(),
2681 if (checkUsingShadowRedecl<FunctionDecl>(*this, Shadow, New))
2683 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl());
3399 if (auto *Shadow =
3401 if (checkUsingShadowRedecl<VarTemplateDecl>(*this, Shadow, NewTemplate))
3406 if (auto *Shadow =
3408 if (checkUsingShadowRedecl<VarDecl>(*this, Shadow, New))
12088 shadow friend decl.
12190 // If this is a redeclaration of a using shadow declaration, it must
12193 if (auto *Shadow = dyn_cast<UsingShadowDecl>(DirectPrevDecl)) {
12196 isDeclInScope(Shadow, SearchDC, S, isExplicitSpecialization) &&
12200 Diag(Shadow->getTargetDecl()->getLocation(),
12202 Diag(Shadow->getUsingDecl()->getLocation(), diag::note_using_decl)