Changeset 2e9b59b for src/CodeGen/FixMain.cc
- Timestamp:
- Apr 19, 2022, 3:00:04 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 5b84a321
- Parents:
- ba897d21 (diff), bb7c77d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/FixMain.cc
rba897d21 r2e9b59b 91 91 } 92 92 93 ObjectDecl * charStarObj() {93 ObjectDecl * makeArgvObj() { 94 94 return new ObjectDecl( 95 95 "", Type::StorageClasses(), LinkageSpec::Cforall, 0, … … 117 117 main_type->get_returnVals().push_back( signedIntObj() ); 118 118 main_type->get_parameters().push_back( signedIntObj() ); 119 main_type->get_parameters().push_back( charStarObj() );119 main_type->get_parameters().push_back( makeArgvObj() ); 120 120 return create_mangled_main_function_name( main_type ); 121 121 }
Note:
See TracChangeset
for help on using the changeset viewer.