Lines Matching defs:getDecl
245 const VarDecl *getDecl() const { return vd; }
269 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()))
301 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {}
318 const auto *VD = dyn_cast<VarDecl>(DRE->getDecl());
334 if (DRE && DRE->getDecl() == VD)
512 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl()));
516 return ::findVar(ex, cast<DeclContext>(ac.getDecl()));
743 reportUse(dr, cast<VarDecl>(dr->getDecl()));
746 vals[cast<VarDecl>(dr->getDecl())] = Initialized;
749 handler.handleSelfInit(cast<VarDecl>(dr->getDecl()));
752 reportConstRefUse(dr, cast<VarDecl>(dr->getDecl()));
760 if (const VarDecl *VD = Var.getDecl())
818 if (const VarDecl *VD = findVar(Ex).getDecl())