Changeset 6f8e87d for src/AST/Stmt.hpp
- Timestamp:
- May 16, 2019, 5:25:40 PM (4 years ago)
- Branches:
- arm-eh, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 246c245
- Parents:
- acd80b4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Stmt.hpp
racd80b4 r6f8e87d 10 10 // Created On : Wed May 8 13:00:00 2019 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed May 1 5 16:01:00 201913 // Update Count : 212 // Last Modified On : Wed May 16 12:20:00 2019 13 // Update Count : 3 14 14 // 15 15 … … 86 86 ptr<Expr> expr; 87 87 88 ExprStmt( const CodeLocation & loc, const Expr * e ) : Stmt(loc), expr(e) {} 88 ExprStmt( const CodeLocation& loc, const Expr* e, std::vector<Label>&& labels = {} ) 89 : Stmt(loc, std::move(labels)), expr(e) {} 89 90 90 91 const Stmt * accept( Visitor & v ) const override { return v.visit( this ); }
Note: See TracChangeset
for help on using the changeset viewer.