Changeset bc07190 for src/AST/Stmt.hpp
- Timestamp:
- Jun 29, 2024, 7:33:28 AM (10 months ago)
- Branches:
- master
- Children:
- 011c29e
- Parents:
- 62a38e7 (diff), 115ac1ce (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/AST/Stmt.hpp ¶
r62a38e7 rbc07190 238 238 ptr<Expr> inc; 239 239 ptr<Expr> range_over; 240 bool is_inc; 240 241 ptr<Stmt> body; 241 242 ptr<Stmt> else_; … … 251 252 range_over(nullptr), body(body), else_(else_) {} 252 253 253 ForStmt( const CodeLocation & loc, const std::vector<ptr<Stmt>> && inits, const Expr * range_over, 254 ForStmt( const CodeLocation & loc, const std::vector<ptr<Stmt>> && inits, const Expr * range_over, bool is_inc, 254 255 const Stmt * body, const Stmt * else_ ) 255 : Stmt(loc, std::move(labels)), inits(std::move(inits)), range_over(range_over), body(body), else_(else_) {} 256 : Stmt(loc, std::move(labels)), inits(std::move(inits)), range_over(range_over), is_inc(is_inc), 257 body(body), else_(else_) {} 256 258 257 259 const Stmt * accept( Visitor & v ) const override { return v.visit( this ); }
Note: See TracChangeset
for help on using the changeset viewer.