Home | History | Annotate | Download | only in Analysis

Lines Matching refs:DeclRefExpr

279 /// A simple class that finds DeclRefExpr in the given expression.
281 /// However, we don't want to find ANY nested DeclRefExpr skipping whatever
285 : public ConstStmtVisitor<DeclRefFinder, const DeclRefExpr *> {
287 /// Find a DeclRefExpr in the given expression.
293 /// that DeclRefExpr nested in E is used as an argument?
302 /// DeclRefExpr is being checked?
309 static const DeclRefExpr *find(const Expr *E,
314 const DeclRefExpr *VisitDeclRefExpr(const DeclRefExpr *DR) { return DR; }
316 const DeclRefExpr *VisitUnaryOperator(const UnaryOperator *UO) {
333 const DeclRefExpr *VisitBinaryOperator(const BinaryOperator *BO) {
340 const DeclRefExpr *LHS = Visit(BO->getLHS());
348 const DeclRefExpr *VisitOpaqueValueExpr(const OpaqueValueExpr *OVE) {
352 const DeclRefExpr *VisitCallExpr(const CallExpr *CE) {
363 const DeclRefExpr *Candidate = Visit(CE->getArg(0));
375 const DeclRefExpr *VisitExpr(const Expr *E) {
392 const DeclRefExpr *findDeclRefExpr(const Expr *In,
400 if (const DeclRefExpr *DR =
441 bool VisitDeclRefExpr(const DeclRefExpr *E) {