Home | History | Annotate | Download | only in Checkers

Lines Matching refs:DR

55   bool VisitDeclRefExpr(DeclRefExpr *DR) {
57 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
222 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk,
224 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
225 CheckVarDecl(VD, DR, Val, dsk, Live);
238 const DeclRefExpr *DR;
240 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
241 if (DR->getDecl() == VD)
244 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
245 if (DR->getDecl() == VD)
265 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS()))
266 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
289 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live);
302 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex))
303 CheckDeclRef(DR, U, DeadIncrement, Live);
402 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E))
403 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {