Lines Matching refs:UsingShadowDecl
3847 // FIXME: UsingShadowDecl doesn't preserve its immediate target, so
3867 UsingShadowDecl *PrevDecl = nullptr;
3872 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow))
3873 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl(
3876 UsingShadowDecl *InstShadow = SemaRef.BuildUsingShadowDecl(
3991 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) {
4114 llvm_unreachable("referring to unresolved decl out of UsingShadowDecl");
6622 static bool isInstantiationOf(UsingShadowDecl *Pattern,
6623 UsingShadowDecl *Instance,
6723 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other))
6724 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx);
7034 if (isa<UsingShadowDecl>(D)) {