Changeset b16898e


Ignore:
Timestamp:
Sep 4, 2016, 6:55:35 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, 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:
3403534, dcd73d1
Parents:
1ba88a0
Message:

walk function type when resolving member constructors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixInit.cc

    r1ba88a0 rb16898e  
    783783                                // need to explicitly re-add function parameters in order to resolve copy constructors
    784784                                enterScope();
    785                                 // maybeAccept( function->get_functionType(), *this );
     785                                maybeAccept( function->get_functionType(), *this );
    786786
    787787                                // need to iterate through members in reverse in order for
     
    815815                                                MutatingResolver resolver( *this );
    816816                                                try {
    817                                                         // xxx - these should be in field declaration order
    818817                                                        callStmt->acceptMutator( resolver );
    819818                                                        if ( isCtor ) {
Note: See TracChangeset for help on using the changeset viewer.