Ignore:
Timestamp:
Apr 27, 2016, 5:16:22 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:
21ae786
Parents:
c2ce2350
Message:

change FixCopyCtors? to insert comma expressions and UntypedExpr? assignments rather than changing the location of the argument. Remove copyCtors list from ImplicitCopyCtorExpr?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    rc2ce2350 r4ffdd63  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Tue Apr 26 12:58:05 2016
     12// Last Modified On : Wed Apr 27 17:07:19 2016
    1313// Update Count     : 40
    1414//
     
    473473
    474474ImplicitCopyCtorExpr::ImplicitCopyCtorExpr( const ImplicitCopyCtorExpr & other ) : Expression( other ), callExpr( maybeClone( other.callExpr ) ) {
    475         cloneAll( other.copyCtors, copyCtors );
    476475        cloneAll( other.tempDecls, tempDecls );
    477476        cloneAll( other.returnDecls, returnDecls );
     
    481480ImplicitCopyCtorExpr::~ImplicitCopyCtorExpr() {
    482481        delete callExpr;
    483         deleteAll( copyCtors );
    484482        deleteAll( tempDecls );
    485483        deleteAll( returnDecls );
     
    493491        os << std::endl << std::string( indent, ' ' ) << "with temporaries:" << std::endl;
    494492        printAll(tempDecls, os, indent+2);
    495         os << std::endl << std::string( indent, ' ' ) << "with copyCtors:" << std::endl;
    496         printAll(copyCtors, os, indent+2);
    497493        os << std::endl << std::string( indent, ' ' ) << "with return temporaries:" << std::endl;
    498494        printAll(returnDecls, os, indent+2);
Note: See TracChangeset for help on using the changeset viewer.