Lines Matching defs:Shadow

7306                            ConstructorUsingShadowDecl *Shadow)
7314 for (auto *D : Shadow->redecls()) {
7336 !Shadow->isInvalidDecl()) {
7339 << Shadow->getTargetDecl();
7352 Shadow->setInvalidDecl();
12531 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I))
12532 PrevShadow = Shadow;
12638 UsingShadowDecl *Shadow;
12644 Shadow = ConstructorUsingShadowDecl::Create(
12647 Shadow = UsingShadowDecl::Create(Context, CurContext, BUD->getLocation(),
12650 BUD->addShadowDecl(Shadow);
12652 Shadow->setAccess(BUD->getAccess());
12654 Shadow->setInvalidDecl();
12656 Shadow->setPreviousDecl(PrevDecl);
12659 PushOnScopeChains(Shadow, S);
12661 CurContext->addDecl(Shadow);
12664 return Shadow;
12667 void Sema::HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow) {
12668 if (Shadow->getDeclName().getNameKind() ==
12670 cast<CXXRecordDecl>(Shadow->getDeclContext())->removeConversion(Shadow);
12673 Shadow->getDeclContext()->removeDecl(Shadow);
12677 S->RemoveDecl(Shadow);
12678 IdResolver.RemoveDecl(Shadow);
12682 Shadow->getIntroducer()->removeShadowDecl(Shadow);
12684 // TODO: complain somehow if Shadow was used. It shouldn't
14044 ConstructorUsingShadowDecl *Shadow) {
14045 CXXRecordDecl *Derived = Shadow->getParent();
14046 SourceLocation UsingLoc = Shadow->getLocation();
14070 InheritedConstructorInfo ICI(*this, Loc, Shadow);
14083 InheritedConstructor(Shadow, BaseCtor),
14085 if (Shadow->isInvalidDecl())
14156 ConstructorUsingShadowDecl *Shadow =
14166 InheritedConstructorInfo ICI(*this, CurrentLocation, Shadow);
14167 CXXRecordDecl *RD = Shadow->getParent();
14168 SourceLocation InitLoc = Shadow->getLocation();
16062 if (auto *Shadow = dyn_cast<ConstructorUsingShadowDecl>(FoundDecl)) {
16063 Constructor = findInheritingConstructor(ConstructLoc, Constructor, Shadow);