Lines Matching refs:DeclRefExpr

381 DeclRefExpr::DeclRefExpr(const ASTContext &Ctx, ValueDecl *D,  in DeclRefExpr()  function in DeclRefExpr
398 DeclRefExpr::DeclRefExpr(const ASTContext &Ctx, in DeclRefExpr() function in DeclRefExpr
435 DeclRefExpr *DeclRefExpr::Create(const ASTContext &Context, in Create()
449 DeclRefExpr *DeclRefExpr::Create(const ASTContext &Context, in Create()
470 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); in Create()
471 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
476 DeclRefExpr *DeclRefExpr::CreateEmpty(const ASTContext &Context, in CreateEmpty()
487 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); in CreateEmpty()
488 return new (Mem) DeclRefExpr(EmptyShell()); in CreateEmpty()
491 void DeclRefExpr::setDecl(ValueDecl *NewD) { in setDecl()
496 SourceLocation DeclRefExpr::getBeginLoc() const { in getBeginLoc()
501 SourceLocation DeclRefExpr::getEndLoc() const { in getEndLoc()
1433 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) in getReferencedDeclOfCallee()
2348 if (isa<DeclRefExpr>(E)) in isReadIfDiscardedInCPlusPlus11()
2695 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE)) in isUnusedResultAWarning()
2784 const Decl *D = cast<DeclRefExpr>(E)->getDecl(); in isOBJCGCCandidate()
3827 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr()
3864 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField()
3907 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in refersToVectorElement()
3918 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar()
3942 const auto *DRE1 = cast<DeclRefExpr>(E1); in isSameComparisonOperand()
3943 const auto *DRE2 = cast<DeclRefExpr>(E2); in isSameComparisonOperand()
3966 const auto *DRE1 = dyn_cast<DeclRefExpr>(E1); in isSameComparisonOperand()
3967 const auto *DRE2 = dyn_cast<DeclRefExpr>(E2); in isSameComparisonOperand()
4019 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isSameComparisonOperand()
4704 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType()