Ignore:
Timestamp:
Dec 14, 2017, 10:45:11 AM (7 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:
6e027d6
Parents:
bdad6eb7
Message:

Transfer code location of tuple type to generated tuple struct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Tuples/TupleExpansion.cc

    rbdad6eb7 rc470ada  
    202202                        // generate struct type to replace tuple type based on the number of components in the tuple
    203203                        StructDecl * decl = new StructDecl( toString( "_tuple", tupleSize, "_" ) );
     204                        decl->location = tupleType->location;
    204205                        decl->set_body( true );
    205206                        for ( size_t i = 0; i < tupleSize; ++i ) {
Note: See TracChangeset for help on using the changeset viewer.