Lines Matching defs:DRE
6236 auto *DRE = dyn_cast<DeclRefExpr>(E);
6237 if (!DRE || !isa<FunctionDecl>(DRE->getDecl()))
6241 cast<FunctionDecl>(DRE->getDecl()));
7347 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg->IgnoreParenImpCasts());
7348 if (!DRE || DRE->refersToEnclosingVariableOrCapture())
7351 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl());
7756 if (auto *DRE = dyn_cast<DeclRefExpr>(CurInit.get()->IgnoreParens())) {
7757 if (auto *FD = dyn_cast<FunctionDecl>(DRE->getDecl())) {
7759 DRE->getBeginLoc()))
8349 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Init)) {
8350 auto Var = cast<VarDecl>(DRE->getDecl());