Changes in src/Tuples/TupleExpansion.cc [f0ecf9b:e3e16bc]
- File:
-
- 1 edited
-
src/Tuples/TupleExpansion.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Tuples/TupleExpansion.cc
rf0ecf9b re3e16bc 21 21 #include "Common/ScopedMap.h" // for ScopedMap 22 22 #include "Common/utility.h" // for CodeLocation 23 #include "GenPoly/DeclMutator.h" // for DeclMutator 23 24 #include "InitTweak/InitTweak.h" // for getFunction 24 25 #include "Parser/LinkageSpec.h" // for Spec, C, Intrinsic … … 204 205 decl->set_body( true ); 205 206 for ( size_t i = 0; i < tupleSize; ++i ) { 206 TypeDecl * tyParam = new TypeDecl( toString( "tuple_param_", tupleSize, "_", i ), Type::StorageClasses(), nullptr, TypeDecl:: Dtype, true);207 TypeDecl * tyParam = new TypeDecl( toString( "tuple_param_", tupleSize, "_", i ), Type::StorageClasses(), nullptr, TypeDecl::Any ); 207 208 decl->get_members().push_back( new ObjectDecl( toString("field_", i ), Type::StorageClasses(), LinkageSpec::C, nullptr, new TypeInstType( Type::Qualifiers(), tyParam->get_name(), tyParam ), nullptr ) ); 208 209 decl->get_parameters().push_back( tyParam );
Note:
See TracChangeset
for help on using the changeset viewer.