Searched refs:NewD (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 5568 NamedDecl *NewD = nullptr; in DeclClonePragmaWeak() local 5581 NewD = NewFD; in DeclClonePragmaWeak() 5599 NewD = VarDecl::Create(VD->getASTContext(), VD->getDeclContext(), in DeclClonePragmaWeak() 5604 VarDecl *NewVD = cast<VarDecl>(NewD); in DeclClonePragmaWeak() 5608 return NewD; in DeclClonePragmaWeak() 5618 NamedDecl *NewD = DeclClonePragmaWeak(ND, W.getAlias(), W.getLocation()); in DeclApplyPragmaWeak() local 5619 NewD->addAttr(AliasAttr::CreateImplicit(Context, NDId->getName(), in DeclApplyPragmaWeak() 5621 NewD->addAttr(WeakAttr::CreateImplicit(Context, W.getLocation())); in DeclApplyPragmaWeak() 5622 WeakTopLevelDecl.push_back(NewD); in DeclApplyPragmaWeak() 5627 NewD->setDeclContext(CurContext); in DeclApplyPragmaWeak() [all …]
|
D | SemaOpenMP.cpp | 3152 if (auto *NewD = TransformDecl(E->getExprLoc(), E->getDecl())) in TransformDeclRefExpr() local 3153 if (E->getDecl() != NewD) { in TransformDeclRefExpr() 3154 NewD->setReferenced(); in TransformDeclRefExpr() 3155 NewD->markUsed(SemaRef.Context); in TransformDeclRefExpr() 3158 cast<ValueDecl>(NewD), E->refersToEnclosingVariableOrCapture(), in TransformDeclRefExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 1019 void setDecl(ValueDecl *NewD) { D = NewD; } in setDecl() argument
|