Ignore:
Timestamp:
Sep 22, 2016, 8:14:56 AM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, 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:
ac9ca96
Parents:
1132b62
git-author:
Rob Schluntz <rschlunt@…> (09/21/16 23:43:37)
git-committer:
Rob Schluntz <rschlunt@…> (09/22/16 08:14:56)
Message:

replace multiple-returning functions with tuple-returning functions, implement tuple ctor/dtor, allow N-arg tuple assignment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r1132b62 r65660bd  
    3838
    3939                virtual void visit( FunctionDecl *functionDecl );
    40                 virtual void visit( ObjectDecl *functionDecl );
     40                virtual void visit( ObjectDecl *objectDecl );
    4141                virtual void visit( TypeDecl *typeDecl );
    4242                virtual void visit( EnumDecl * enumDecl );
     
    442442                                (*iter)->accept( *this );
    443443                        } // for
     444                } else if ( TupleType * tt = dynamic_cast< TupleType * > ( initContext ) ) {
     445                        for ( Type * t : *tt ) {
     446                                if ( iter == end ) break;
     447                                initContext = t;
     448                                (*iter++)->accept( *this );
     449                        }
    444450                } else if ( StructInstType * st = dynamic_cast< StructInstType * >( initContext ) ) {
    445451                        resolveAggrInit( st->get_baseStruct(), iter, end );
Note: See TracChangeset for help on using the changeset viewer.