Lines Matching defs:DeclRefExpr

214   else if (const auto *DRE = dyn_cast<DeclRefExpr>(E))
429 DeclRefExpr::DeclRefExpr(const ASTContext &Ctx, ValueDecl *D,
448 DeclRefExpr::DeclRefExpr(const ASTContext &Ctx,
477 "built a DeclRefExpr with dependent template args");
487 DeclRefExpr *DeclRefExpr::Create(const ASTContext &Context,
501 DeclRefExpr *DeclRefExpr::Create(const ASTContext &Context,
522 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr));
523 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D,
528 DeclRefExpr *DeclRefExpr::CreateEmpty(const ASTContext &Context,
539 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr));
540 return new (Mem) DeclRefExpr(EmptyShell());
543 void DeclRefExpr::setDecl(ValueDecl *NewD) {
550 SourceLocation DeclRefExpr::getBeginLoc() const {
555 SourceLocation DeclRefExpr::getEndLoc() const {
1572 if (auto *DRE = dyn_cast<DeclRefExpr>(CEE))
2569 if (isa<DeclRefExpr>(E))
2932 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE))
3024 const Decl *D = cast<DeclRefExpr>(E)->getDecl();
4116 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E);
4153 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) {
4180 if (auto *DRE = dyn_cast<DeclRefExpr>(E))
4202 if (auto *DRE = dyn_cast<DeclRefExpr>(E))
4213 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
4235 // DeclRefExpr without an ImplicitCastExpr can happen for integral
4237 const auto *DRE1 = cast<DeclRefExpr>(E1);
4238 const auto *DRE2 = cast<DeclRefExpr>(E2);
4261 const auto *DRE1 = dyn_cast<DeclRefExpr>(E1);
4262 const auto *DRE2 = dyn_cast<DeclRefExpr>(E2);
4312 // a MemberExpr or a DeclRefExpr.
4314 if (const auto *DRE = dyn_cast<DeclRefExpr>(E))
5199 if (auto *DRE = dyn_cast<DeclRefExpr>(Base))