Ignore:
Timestamp:
Apr 14, 2016, 3:22:42 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:
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/Visitor.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:16:25 2016
     12// Last Modified On : Fri Apr 08 13:53:21 2016
    1313// Update Count     : 18
    1414//
     
    279279}
    280280
     281void Visitor::visit( ImplicitCopyCtorExpr *impCpCtorExpr ) {
     282        maybeAccept( impCpCtorExpr->get_callExpr(), *this );
     283        acceptAll( impCpCtorExpr->get_copyCtors(), *this );
     284        acceptAll( impCpCtorExpr->get_tempDecls(), *this );
     285}
     286
    281287void Visitor::visit( UntypedValofExpr *valofExpr ) {
    282288        acceptAll( valofExpr->get_results(), *this );
Note: See TracChangeset for help on using the changeset viewer.