Changes in src/SynTree/TupleExpr.cc [68f9c43:ba3706f]
- File:
-
- 1 edited
-
src/SynTree/TupleExpr.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/TupleExpr.cc
r68f9c43 rba3706f 35 35 } 36 36 37 UntypedTupleExpr::~UntypedTupleExpr() { 38 deleteAll( exprs ); 39 } 40 37 41 void UntypedTupleExpr::print( std::ostream &os, Indenter indent ) const { 38 42 os << "Untyped Tuple:" << std::endl; … … 47 51 TupleExpr::TupleExpr( const TupleExpr &other ) : Expression( other ) { 48 52 cloneAll( other.exprs, exprs ); 53 } 54 55 TupleExpr::~TupleExpr() { 56 deleteAll( exprs ); 49 57 } 50 58 … … 64 72 65 73 TupleIndexExpr::TupleIndexExpr( const TupleIndexExpr &other ) : Expression( other ), tuple( other.tuple->clone() ), index( other.index ) { 74 } 75 76 TupleIndexExpr::~TupleIndexExpr() { 77 delete tuple; 66 78 } 67 79 … … 93 105 } 94 106 107 TupleAssignExpr::~TupleAssignExpr() { 108 delete stmtExpr; 109 } 110 95 111 void TupleAssignExpr::print( std::ostream &os, Indenter indent ) const { 96 112 os << "Tuple Assignment Expression, with stmt expr:" << std::endl;
Note:
See TracChangeset
for help on using the changeset viewer.