Changeset e85a8631 for src/SynTree


Ignore:
Timestamp:
Aug 22, 2016, 2:15:19 PM (10 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, stuck-waitfor-destruct, with_gc
Children:
f87408e
Parents:
04cdd9b (diff), 8d2844a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ctor

Location:
src/SynTree
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    r04cdd9b re85a8631  
    385385UntypedExpr::~UntypedExpr() {
    386386        delete function;
     387        // deleteAll( args );  //TODO FIXME the arguments are leaked but they seem to be shared in some way
    387388}
    388389
  • src/SynTree/FunctionDecl.cc

    r04cdd9b re85a8631  
    3939        delete type;
    4040        delete statements;
     41        deleteAll( oldDecls );
    4142}
    4243
  • src/SynTree/Statement.cc

    r04cdd9b re85a8631  
    159159        delete condition;
    160160        // destroy statements
     161        deleteAll( statements );
    161162}
    162163
     
    187188CaseStmt::~CaseStmt() {
    188189        delete condition;
     190        deleteAll( stmts );
    189191}
    190192
     
    220222WhileStmt::~WhileStmt() {
    221223        delete body;
     224        delete condition;
    222225}
    223226
     
    294297TryStmt::~TryStmt() {
    295298        delete block;
     299        deleteAll( handlers );
     300        delete finallyBlock;
    296301}
    297302
Note: See TracChangeset for help on using the changeset viewer.