Home | History | Annotate | Download | only in Sema

Lines Matching refs:DR

1359   if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) {
1360 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(DR->getDecl())) {
1708 const DeclRefExpr *DR = cast<DeclRefExpr>(E);
1712 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
1714 QualType T = DR->getType();
3593 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(stackE)) { //address of local var.
3596 << DR->getDecl()->getDeclName() << diagRange;
3665 DeclRefExpr *DR = cast<DeclRefExpr>(E);
3667 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl()))
3673 refVars.push_back(DR);
3820 DeclRefExpr *DR = cast<DeclRefExpr>(E);
3822 if (VarDecl *V = dyn_cast<VarDecl>(DR->getDecl())) {
3825 return DR;
3829 return DR;
3835 refVars.push_back(DR);
4360 if (const DeclRefExpr *DR =
4362 if (isa<EnumConstantDecl>(DR->getDecl()))
4502 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Constant))
4503 ED = dyn_cast<EnumConstantDecl>(DR->getDecl());