Home
last modified time | relevance | path

Searched refs:NewD (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclAttr.cpp4620 NamedDecl *NewD = nullptr; in DeclClonePragmaWeak() local
4633 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() local
4671 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 …]
/external/clang/include/clang/AST/
DExpr.h987 void setDecl(ValueDecl *NewD) { D = NewD; } in setDecl() argument