Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/TupleExpr.cc

    r68f9c43 rba3706f  
    3535}
    3636
     37UntypedTupleExpr::~UntypedTupleExpr() {
     38        deleteAll( exprs );
     39}
     40
    3741void UntypedTupleExpr::print( std::ostream &os, Indenter indent ) const {
    3842        os << "Untyped Tuple:" << std::endl;
     
    4751TupleExpr::TupleExpr( const TupleExpr &other ) : Expression( other ) {
    4852        cloneAll( other.exprs, exprs );
     53}
     54
     55TupleExpr::~TupleExpr() {
     56        deleteAll( exprs );
    4957}
    5058
     
    6472
    6573TupleIndexExpr::TupleIndexExpr( const TupleIndexExpr &other ) : Expression( other ), tuple( other.tuple->clone() ), index( other.index ) {
     74}
     75
     76TupleIndexExpr::~TupleIndexExpr() {
     77        delete tuple;
    6678}
    6779
     
    93105}
    94106
     107TupleAssignExpr::~TupleAssignExpr() {
     108        delete stmtExpr;
     109}
     110
    95111void TupleAssignExpr::print( std::ostream &os, Indenter indent ) const {
    96112        os << "Tuple Assignment Expression, with stmt expr:" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.