Ignore:
Timestamp:
Apr 14, 2016, 3:22:42 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, 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, stuck-waitfor-destruct, with_gc
Children:
70a06f6
Parents:
7eabc25
Message:

add ImplicitCopyCtorExpr node, implicit copy constructors are inserted into the right places (but there is room for elision)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r7eabc25 rdb4ecc5  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Mon Apr 04 17:14:20 2016
     12// Last Modified On : Fri Apr 08 14:01:47 2016
    1313// Update Count     : 15
    1414//
     
    331331}
    332332
     333Expression* Mutator::mutate( ImplicitCopyCtorExpr *impCpCtorExpr ) {
     334        impCpCtorExpr->set_callExpr( maybeMutate( impCpCtorExpr->get_callExpr(), *this ) );
     335        mutateAll( impCpCtorExpr->get_copyCtors(), *this );
     336        mutateAll( impCpCtorExpr->get_tempDecls(), *this );
     337        return impCpCtorExpr;
     338}
     339
    333340Expression *Mutator::mutate( UntypedValofExpr *valofExpr ) {
    334341        mutateAll( valofExpr->get_results(), *this );
Note: See TracChangeset for help on using the changeset viewer.