Ignore:
Timestamp:
Aug 25, 2016, 9:14:18 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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, with_gc
Children:
a839867
Parents:
c1c1112 (diff), 486341f (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' of plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    rc1c1112 r4e2b9710  
    200200
    201201OffsetofExpr::OffsetofExpr( const OffsetofExpr &other ) :
    202         Expression( other ), type( maybeClone( other.type ) ), member( maybeClone( other.member ) ) {}
     202        Expression( other ), type( maybeClone( other.type ) ), member( other.member ) {}
    203203
    204204OffsetofExpr::~OffsetofExpr() {
    205205        delete type;
    206         delete member;
    207206}
    208207
     
    359358        assert( member );
    360359        os << std::string( indent + 2, ' ' );
     360        os << (void*)member << " ";
    361361        member->print( os, indent + 2 );
    362362        os << std::endl;
     
    385385UntypedExpr::~UntypedExpr() {
    386386        delete function;
    387         // deleteAll( args );  //TODO FIXME the arguments are leaked but they seem to be shared in some way
     387        deleteAll( args );
    388388}
    389389
Note: See TracChangeset for help on using the changeset viewer.