Home | History | Annotate | Download | only in Analysis

Lines Matching refs:DeclRefExpr

224   const DeclRefExpr *dr;
227 FindVarResult(const VarDecl *vd, const DeclRefExpr *dr) : vd(vd), dr(dr) {}
229 const DeclRefExpr *getDeclRefExpr() const { return dr; }
253 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E)))
262 /// Classify each DeclRefExpr as an initialization or a use. Any
263 /// DeclRefExpr which isn't explicitly classified will be assumed to have
277 llvm::DenseMap<const DeclRefExpr *, Class> Classification;
297 Class get(const DeclRefExpr *DRE) const {
298 llvm::DenseMap<const DeclRefExpr*, Class>::const_iterator I
313 static const DeclRefExpr *getSelfInitExpr(VarDecl *VD) {
318 dyn_cast<DeclRefExpr>(stripCasts(VD->getASTContext(), Init));
367 if (const DeclRefExpr *DRE = Var.getDeclRefExpr())
375 if (const DeclRefExpr *DRE = getSelfInitExpr(VD))
381 // Ignore the evaluation of a DeclRefExpr on the LHS of an assignment. If this
489 void VisitDeclRefExpr(DeclRefExpr *dr);
745 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *dr) {