Changes in src/AST/Stmt.hpp [d3aa55e9:525f7ad]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Stmt.hpp
rd3aa55e9 r525f7ad 238 238 ptr<Expr> inc; 239 239 ptr<Expr> range_over; 240 bool is_inc;241 240 ptr<Stmt> body; 242 241 ptr<Stmt> else_; … … 252 251 range_over(nullptr), body(body), else_(else_) {} 253 252 254 ForStmt( const CodeLocation & loc, const std::vector<ptr<Stmt>> && inits, const Expr * range_over, bool is_inc,253 ForStmt( const CodeLocation & loc, const std::vector<ptr<Stmt>> && inits, const Expr * range_over, 255 254 const Stmt * body, const Stmt * else_ ) 256 : Stmt(loc, std::move(labels)), inits(std::move(inits)), range_over(range_over), is_inc(is_inc), 257 body(body), else_(else_) {} 255 : Stmt(loc, std::move(labels)), inits(std::move(inits)), range_over(range_over), body(body), else_(else_) {} 258 256 259 257 const Stmt * accept( Visitor & v ) const override { return v.visit( this ); }
Note: See TracChangeset
for help on using the changeset viewer.