Home | History | Annotate | Download | only in Checkers

Lines Matching refs:DeclRefExpr

181 static const DeclRefExpr*
190 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y))
193 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y))
199 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) {
246 const DeclRefExpr *drLHS =
247 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts());
248 const DeclRefExpr *drRHS =
249 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts());
265 const DeclRefExpr *drInc = getIncrementedVar(increment, vdLHS, vdRHS);
270 // Emit the error. First figure out which DeclRefExpr in the condition
272 const DeclRefExpr *drCond = vdLHS == drInc->getDecl() ? drLHS : drRHS;