Lines Matching refs:DeclRefExpr
228 static const DeclRefExpr*
237 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y))
240 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y))
246 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) {
293 const DeclRefExpr *drLHS =
294 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts());
295 const DeclRefExpr *drRHS =
296 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts());
312 const DeclRefExpr *drInc = getIncrementedVar(increment, vdLHS, vdRHS);
319 // Emit the error. First figure out which DeclRefExpr in the condition
321 const DeclRefExpr *drCond = vdLHS == vdInc ? drLHS : drRHS;