Changeset aefcc3b for src/Tuples


Ignore:
Timestamp:
Sep 20, 2016, 4:14:13 PM (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:
23b6643f
Parents:
8c49c0e
Message:

major change to instantiateFunction to match arguments against the formal parameter's structure rather than the reverse

Location:
src/Tuples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Tuples/TupleExpansion.cc

    r8c49c0e raefcc3b  
    7272        }
    7373
    74         void expandTuples( std::list< Declaration * > & translationUnit ) {
     74        void expandUniqueExpr( std::list< Declaration * > & translationUnit ) {
    7575                UniqueExprExpander unqExpander;
    7676                unqExpander.mutateDeclarationList( translationUnit );
     77        }
    7778
     79        void expandTuples( std::list< Declaration * > & translationUnit ) {
    7880                TupleAssignExpander assnExpander;
    7981                mutateAll( translationUnit, assnExpander );
  • src/Tuples/Tuples.h

    r8c49c0e raefcc3b  
    3232        void expandTuples( std::list< Declaration * > & translationUnit );
    3333
     34  void expandUniqueExpr( std::list< Declaration * > & translationUnit );
     35
    3436  TupleType * makeTupleType( const std::list< Expression * > & exprs );
    3537} // namespace Tuples
Note: See TracChangeset for help on using the changeset viewer.