Changeset c470ada for src/Tuples
- Timestamp:
- Dec 14, 2017, 10:45:11 AM (7 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Tuples/TupleExpansion.cc
rbdad6eb7 rc470ada 202 202 // generate struct type to replace tuple type based on the number of components in the tuple 203 203 StructDecl * decl = new StructDecl( toString( "_tuple", tupleSize, "_" ) ); 204 decl->location = tupleType->location; 204 205 decl->set_body( true ); 205 206 for ( size_t i = 0; i < tupleSize; ++i ) {
Note: See TracChangeset
for help on using the changeset viewer.