Lines Matching refs:DR
1358 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) {
1359 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(DR->getDecl())) {
1707 const DeclRefExpr *DR = cast<DeclRefExpr>(E);
1711 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
1713 QualType T = DR->getType();
3634 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(stackE)) { //address of local var.
3637 << DR->getDecl()->getDeclName() << diagRange;
3706 DeclRefExpr *DR = cast<DeclRefExpr>(E);
3708 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl()))
3714 refVars.push_back(DR);
3861 DeclRefExpr *DR = cast<DeclRefExpr>(E);
3863 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl())) {
3866 return DR;
3870 return DR;
3876 refVars.push_back(DR);
4401 if (const DeclRefExpr *DR =
4403 if (isa<EnumConstantDecl>(DR->getDecl()))
4543 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Constant))
4544 ED = dyn_cast<EnumConstantDecl>(DR->getDecl());