- Timestamp:
- Apr 11, 2022, 12:10:49 AM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 30d91e4, a08443b
- Parents:
- 7ee5d6d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/FixMain.cc
r7ee5d6d rd8c4fab 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.