Lines Matching refs:DeclRefExpr
328 void DeclRefExpr::computeDependence(const ASTContext &Ctx) { in computeDependence()
344 DeclRefExpr::DeclRefExpr(const ASTContext &Ctx, ValueDecl *D, in DeclRefExpr() function in DeclRefExpr
360 DeclRefExpr::DeclRefExpr(const ASTContext &Ctx, in DeclRefExpr() function in DeclRefExpr
406 DeclRefExpr *DeclRefExpr::Create(const ASTContext &Context, in Create()
422 DeclRefExpr *DeclRefExpr::Create(const ASTContext &Context, in Create()
444 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); in Create()
445 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
450 DeclRefExpr *DeclRefExpr::CreateEmpty(const ASTContext &Context, in CreateEmpty()
461 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); in CreateEmpty()
462 return new (Mem) DeclRefExpr(EmptyShell()); in CreateEmpty()
465 SourceLocation DeclRefExpr::getBeginLoc() const { in getBeginLoc()
470 SourceLocation DeclRefExpr::getEndLoc() const { in getEndLoc()
1358 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) in getReferencedDeclOfCallee()
1376 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()); in getBuiltinCallee()
1521 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in UnaryExprOrTypeTraitExpr()
2426 const DeclRefExpr *DRE = in isUnusedResultAWarning()
2427 dyn_cast<DeclRefExpr>(CE->getSubExpr()->IgnoreParens()); in isUnusedResultAWarning()
2508 const Decl *D = cast<DeclRefExpr>(E)->getDecl(); in isOBJCGCCandidate()
3580 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr()
3617 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField()
3660 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in refersToVectorElement()
3671 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar()
4270 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType()