Lines Matching refs:NewUD
2381 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl() local
2397 NewUD->setInvalidDecl(); in VisitUsingDecl()
2401 if (!NewUD->isInvalidDecl() && in VisitUsingDecl()
2404 NewUD->setInvalidDecl(); in VisitUsingDecl()
2406 SemaRef.Context.setInstantiatedFromUsingDecl(NewUD, D); in VisitUsingDecl()
2407 NewUD->setAccess(D->getAccess()); in VisitUsingDecl()
2408 Owner->addDecl(NewUD); in VisitUsingDecl()
2411 if (NewUD->isInvalidDecl()) in VisitUsingDecl()
2412 return NewUD; in VisitUsingDecl()
2415 SemaRef.CheckInheritingConstructorUsingDecl(NewUD); in VisitUsingDecl()
2436 if (SemaRef.CheckUsingShadowDecl(NewUD, InstTarget, Prev, PrevDecl)) in VisitUsingDecl()
2445 SemaRef.BuildUsingShadowDecl(/*Scope*/nullptr, NewUD, InstTarget, in VisitUsingDecl()
2453 return NewUD; in VisitUsingDecl()