Home | History | Annotate | Download | only in Analysis

Lines Matching refs:DeclRefExpr

268   const DeclRefExpr *dr;
270 FindVarResult(const VarDecl *vd, const DeclRefExpr *dr) : vd(vd), dr(dr) {}
272 const DeclRefExpr *getDeclRefExpr() const { return dr; }
293 if (const DeclRefExpr *DRE =
294 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E)))
301 /// \brief Classify each DeclRefExpr as an initialization or a use. Any
302 /// DeclRefExpr which isn't explicitly classified will be assumed to have
315 llvm::DenseMap<const DeclRefExpr*, Class> Classification;
334 Class get(const DeclRefExpr *DRE) const {
335 llvm::DenseMap<const DeclRefExpr*, Class>::const_iterator I
349 static const DeclRefExpr *getSelfInitExpr(VarDecl *VD) {
351 const DeclRefExpr *DRE
352 = dyn_cast<DeclRefExpr>(stripCasts(VD->getASTContext(), Init));
371 if (const DeclRefExpr *DRE = Var.getDeclRefExpr())
379 if (const DeclRefExpr *DRE = getSelfInitExpr(VD))
385 // Ignore the evaluation of a DeclRefExpr on the LHS of an assignment. If this
454 void VisitDeclRefExpr(DeclRefExpr *dr);
670 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *dr) {