Lines Matching refs:getDecl
274 const VarDecl *getDecl() const { return vd; } in getDecl() function in __anone43e90580411::FindVarResult
296 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) in findVar()
325 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {} in ClassifyRefs()
341 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); in get()
355 if (DRE && DRE->getDecl() == VD) in getSelfInitExpr()
519 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl())); in isTrackedVar()
523 return ::findVar(ex, cast<DeclContext>(ac.getDecl())); in findVar()
734 reportUse(dr, cast<VarDecl>(dr->getDecl())); in VisitDeclRefExpr()
737 vals[cast<VarDecl>(dr->getDecl())] = Initialized; in VisitDeclRefExpr()
740 handler.handleSelfInit(cast<VarDecl>(dr->getDecl())); in VisitDeclRefExpr()
748 if (const VarDecl *VD = Var.getDecl()) in VisitBinaryOperator()