Changeset 74d1804 for src/SynTree


Ignore:
Timestamp:
Jun 27, 2016, 12:44:15 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, 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:
c1c09285
Parents:
d56c05d0
git-author:
Rob Schluntz <rschlunt@…> (06/27/16 12:44:03)
git-committer:
Rob Schluntz <rschlunt@…> (06/27/16 12:44:15)
Message:

remove void check in ReturnChecker? in Validate, add ownership of callStmt to ImplicitCtorDtorStmt?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Statement.cc

    rd56c05d0 r74d1804  
    399399}
    400400
    401 ImplicitCtorDtorStmt::ImplicitCtorDtorStmt( const ImplicitCtorDtorStmt & other ) : Statement( other ), callStmt( other.callStmt ) {
     401ImplicitCtorDtorStmt::ImplicitCtorDtorStmt( const ImplicitCtorDtorStmt & other ) : Statement( other ), callStmt( maybeClone( other.callStmt ) ) {
    402402}
    403403
    404404ImplicitCtorDtorStmt::~ImplicitCtorDtorStmt() {
     405        delete callStmt;
    405406}
    406407
Note: See TracChangeset for help on using the changeset viewer.