Searched refs:NewD (Results 1 – 2 of 2) sorted by relevance
4620 NamedDecl *NewD = nullptr; in DeclClonePragmaWeak() local4633 NewD = NewFD; in DeclClonePragmaWeak()4651 NewD = VarDecl::Create(VD->getASTContext(), VD->getDeclContext(), in DeclClonePragmaWeak()4656 VarDecl *NewVD = cast<VarDecl>(NewD); in DeclClonePragmaWeak()4660 return NewD; in DeclClonePragmaWeak()4670 NamedDecl *NewD = DeclClonePragmaWeak(ND, W.getAlias(), W.getLocation()); in DeclApplyPragmaWeak() local4671 NewD->addAttr(AliasAttr::CreateImplicit(Context, NDId->getName(), in DeclApplyPragmaWeak()4673 NewD->addAttr(WeakAttr::CreateImplicit(Context, W.getLocation())); in DeclApplyPragmaWeak()4674 WeakTopLevelDecl.push_back(NewD); in DeclApplyPragmaWeak()4679 NewD->setDeclContext(CurContext); in DeclApplyPragmaWeak()[all …]
987 void setDecl(ValueDecl *NewD) { D = NewD; } in setDecl() argument