Lines Matching refs:DRE
216 else if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isFlexibleArrayMemberLike() local
217 D = DRE->getDecl(); in isFlexibleArrayMemberLike()
1538 if (auto *DRE = dyn_cast<DeclRefExpr>(CEE)) in getReferencedDeclOfCallee() local
1539 return DRE->getDecl(); in getReferencedDeclOfCallee()
2873 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE)) in isUnusedResultAWarning() local
2874 if (auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) in isUnusedResultAWarning()
4012 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr() local
4013 if (!DRE) in isObjCSelfExpr()
4016 const ImplicitParamDecl *Param = dyn_cast<ImplicitParamDecl>(DRE->getDecl()); in isObjCSelfExpr()
4091 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in refersToVectorElement() local
4092 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl())) in refersToVectorElement()
4102 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar() local
4103 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) in refersToGlobalRegisterVar()
4203 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isSameComparisonOperand() local
4204 return DRE->getDecl(); in isSameComparisonOperand()
5008 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType() local
5009 if (auto *PVD = dyn_cast<ParmVarDecl>(DRE->getDecl())) in getBaseOriginalType()