Lines Matching defs:SubExprs
694 Stmt *SubExprs[NUM_SUBEXPRS];
697 void setBase(Expr *Base) { SubExprs[BASE_EXPR] = Base; }
698 void setIdx(Expr *Idx) { SubExprs[IDX_EXPR] = Idx; }
707 SubExprs[BASE_EXPR] = Base;
708 SubExprs[IDX_EXPR] = Idx;
715 Expr *getBase() { return cast<Expr>(SubExprs[BASE_EXPR]); }
716 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE_EXPR]); }
718 Expr *getIdx() { return cast<Expr>(SubExprs[IDX_EXPR]); }
719 const Expr *getIdx() const { return cast<Expr>(SubExprs[IDX_EXPR]); }
739 return child_range(&SubExprs[0], &SubExprs[0] + NUM_SUBEXPRS);
1738 Stmt **SubExprs;
1789 : Expr(CXXNewExprClass, Shell), SubExprs(nullptr) { }
1827 return Array ? cast<Expr>(SubExprs[0]) : nullptr;
1830 return Array ? cast<Expr>(SubExprs[0]) : nullptr;
1835 return reinterpret_cast<Expr **>(SubExprs + Array + hasInitializer());
1864 return hasInitializer() ? cast<Expr>(SubExprs[Array]) : nullptr;
1867 return hasInitializer() ? cast<Expr>(SubExprs[Array]) : nullptr;
1894 return SubExprs + Array + hasInitializer();
1897 return SubExprs + Array + hasInitializer() + getNumPlacementArgs();
1900 return SubExprs + Array + hasInitializer();
1903 return SubExprs + Array + hasInitializer() + getNumPlacementArgs();
1907 raw_arg_iterator raw_arg_begin() { return SubExprs; }
1909 return SubExprs + Array + hasInitializer() + getNumPlacementArgs();
1911 const_arg_iterator raw_arg_begin() const { return SubExprs; }
1913 return SubExprs + Array + hasInitializer() + getNumPlacementArgs();
4021 Stmt *SubExprs[2];
4035 SubExprs[0] = LHS;
4036 SubExprs[1] = RHS;
4040 Expr *getLHS() const { return static_cast<Expr*>(SubExprs[0]); }
4041 Expr *getRHS() const { return static_cast<Expr*>(SubExprs[1]); }
4069 child_range children() { return child_range(SubExprs, SubExprs + 2); }
4089 Stmt *SubExprs[SubExpr::Count];
4100 SubExprs[SubExpr::Common] = Common;
4101 SubExprs[SubExpr::Ready] = Ready;
4102 SubExprs[SubExpr::Suspend] = Suspend;
4103 SubExprs[SubExpr::Resume] = Resume;
4112 SubExprs[SubExpr::Common] = Common;
4113 SubExprs[SubExpr::Ready] = nullptr;
4114 SubExprs[SubExpr::Suspend] = nullptr;
4115 SubExprs[SubExpr::Resume] = nullptr;
4118 SubExprs[SubExpr::Common] = nullptr;
4119 SubExprs[SubExpr::Ready] = nullptr;
4120 SubExprs[SubExpr::Suspend] = nullptr;
4121 SubExprs[SubExpr::Resume] = nullptr;
4126 return static_cast<Expr*>(SubExprs[SubExpr::Common]);
4130 return static_cast<Expr*>(SubExprs[SubExpr::Ready]);
4133 return static_cast<Expr*>(SubExprs[SubExpr::Suspend]);
4136 return static_cast<Expr*>(SubExprs[SubExpr::Resume]);
4147 return child_range(SubExprs, SubExprs + SubExpr::Count);