Lines Matching refs:DeclRefExpr

215   else if (const auto *DRE = dyn_cast<DeclRefExpr>(E))  in isFlexibleArrayMemberLike()
430 DeclRefExpr::DeclRefExpr(const ASTContext &Ctx, ValueDecl *D, in DeclRefExpr() function in DeclRefExpr
449 DeclRefExpr::DeclRefExpr(const ASTContext &Ctx, in DeclRefExpr() function in DeclRefExpr
488 DeclRefExpr *DeclRefExpr::Create(const ASTContext &Context, in Create()
502 DeclRefExpr *DeclRefExpr::Create(const ASTContext &Context, in Create()
523 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); in Create()
524 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
529 DeclRefExpr *DeclRefExpr::CreateEmpty(const ASTContext &Context, in CreateEmpty()
540 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); in CreateEmpty()
541 return new (Mem) DeclRefExpr(EmptyShell()); in CreateEmpty()
544 void DeclRefExpr::setDecl(ValueDecl *NewD) { in setDecl()
551 SourceLocation DeclRefExpr::getBeginLoc() const { in getBeginLoc()
556 SourceLocation DeclRefExpr::getEndLoc() const { in getEndLoc()
1568 if (auto *DRE = dyn_cast<DeclRefExpr>(CEE)) in getReferencedDeclOfCallee()
2546 if (isa<DeclRefExpr>(E)) in isReadIfDiscardedInCPlusPlus11()
2909 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE)) in isUnusedResultAWarning()
2998 const Decl *D = cast<DeclRefExpr>(E)->getDecl(); in isOBJCGCCandidate()
4087 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr()
4124 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField()
4151 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in getEnumConstantDecl()
4173 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in refersToVectorElement()
4184 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar()
4208 const auto *DRE1 = cast<DeclRefExpr>(E1); in isSameComparisonOperand()
4209 const auto *DRE2 = cast<DeclRefExpr>(E2); in isSameComparisonOperand()
4232 const auto *DRE1 = dyn_cast<DeclRefExpr>(E1); in isSameComparisonOperand()
4233 const auto *DRE2 = dyn_cast<DeclRefExpr>(E2); in isSameComparisonOperand()
4285 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isSameComparisonOperand()
5099 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType()