Lines Matching defs:DR
1329 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) {
1330 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(DR->getDecl())) {
1678 const DeclRefExpr *DR = cast<DeclRefExpr>(E);
1682 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
1684 QualType T = DR->getType();
3468 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(stackE)) { //address of local var.
3471 << DR->getDecl()->getDeclName() << diagRange;
3540 DeclRefExpr *DR = cast<DeclRefExpr>(E);
3542 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl()))
3548 refVars.push_back(DR);
3695 DeclRefExpr *DR = cast<DeclRefExpr>(E);
3697 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl())) {
3700 return DR;
3704 return DR;
3710 refVars.push_back(DR);
4231 if (const DeclRefExpr *DR =
4233 if (isa<EnumConstantDecl>(DR->getDecl()))