- Timestamp:
- Sep 26, 2024, 3:54:26 PM (3 months ago)
- Branches:
- master
- Children:
- 86841ee
- Parents:
- 62afe08
- Location:
- src/AST
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.hpp
r62afe08 r2d6add4 119 119 enum ArgumentFlag { FixedArgs, VariableArgs }; 120 120 121 /// Objectdeclaration `int foo()`121 /// Function declaration `int foo()` 122 122 class FunctionDecl final : public DeclWithType { 123 123 public: -
src/AST/Stmt.hpp
r62afe08 r2d6add4 269 269 270 270 ForeachStmt( const CodeLocation & loc, const std::vector<ptr<Stmt>> && inits, 271 const Expr * range_over, RangeDirection isInc, const Stmt * body, const Stmt * else_ ) 271 const Expr * range_over, RangeDirection isInc, const Stmt * body, 272 const Stmt * else_, const std::vector<Label> && labels = {} ) 272 273 : Stmt(loc, std::move(labels)), inits(std::move(inits)), range(range_over), 273 274 body(body), else_(else_), isIncreasing(isInc) {}
Note: See TracChangeset
for help on using the changeset viewer.