Home | History | Annotate | Download | only in Checkers

Lines Matching refs:DeclRefExpr

185 static const DeclRefExpr*
194 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y))
197 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y))
203 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) {
250 const DeclRefExpr *drLHS =
251 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts());
252 const DeclRefExpr *drRHS =
253 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts());
269 const DeclRefExpr *drInc = getIncrementedVar(increment, vdLHS, vdRHS);
274 // Emit the error. First figure out which DeclRefExpr in the condition
277 const DeclRefExpr *drCond = vdLHS == drInc->getDecl() ? drLHS : drRHS;