Home | History | Annotate | Download | only in Checkers

Lines Matching defs:DR

171   void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk,
173 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
174 CheckVarDecl(VD, DR, Val, dsk, Live);
187 const DeclRefExpr *DR;
189 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
190 if (DR->getDecl() == VD)
193 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
194 if (DR->getDecl() == VD)
214 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS()))
215 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
238 CheckVarDecl(VD, DR, B->getRHS(), dsk, Live);
251 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex))
252 CheckDeclRef(DR, U, DeadIncrement, Live);
351 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E))
352 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {