Home | History | Annotate | Download | only in AST

Lines Matching refs:Expr

10 //  This file defines the Expr interface and subclasses.
17 #include "clang/AST/Expr.h"
45 class OMPArraySectionExpr : public Expr {
52 OMPArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, QualType Type,
55 : Expr(
77 : Expr(OMPArraySectionExprClass, Shell) {}
82 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); }
83 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE]); }
85 void setBase(Expr *E) { SubExprs[BASE] = E; }
88 static QualType getBaseOriginalType(const Expr *Base);
91 Expr *getLowerBound() { return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); }
92 const Expr *getLowerBound() const {
93 return cast_or_null<Expr>(SubExprs[LOWER_BOUND]);
96 void setLowerBound(Expr *E) { SubExprs[LOWER_BOUND] = E; }
99 Expr *getLength() { return cast_or_null<Expr>(SubExprs[LENGTH]); }
100 const Expr *getLength() const { return cast_or_null<Expr>(SubExprs[LENGTH]); }
102 void setLength(Expr *E) { SubExprs[LENGTH] = E; }