Changeset ac71a86 for src/SynTree
- Timestamp:
- Aug 19, 2016, 12:57:05 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 04cdd9b, 2037f82
- Parents:
- 8b7ee09
- Location:
- src/SynTree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r8b7ee09 rac71a86 383 383 Expression( _aname ), function(_function), args(_args) {} 384 384 385 UntypedExpr::~UntypedExpr() {} 385 UntypedExpr::~UntypedExpr() { 386 delete function; 387 } 386 388 387 389 void UntypedExpr::print( std::ostream &os, int indent ) const { -
src/SynTree/Statement.cc
r8b7ee09 rac71a86 124 124 Statement( other ), condition( maybeClone( other.condition ) ), thenPart( maybeClone( other.thenPart ) ), elsePart( maybeClone( other.elsePart ) ) {} 125 125 126 IfStmt::~IfStmt() {} 126 IfStmt::~IfStmt() { 127 delete condition; 128 delete thenPart; 129 delete elsePart; 130 } 127 131 128 132 void IfStmt::print( std::ostream &os, int indent ) const {
Note: See TracChangeset
for help on using the changeset viewer.