Changeset d8c4fab


Ignore:
Timestamp:
Apr 11, 2022, 12:10:49 AM (20 months ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
30d91e4, a08443b
Parents:
7ee5d6d
Message:

Rename makeArgvObj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/FixMain.cc

    r7ee5d6d rd8c4fab  
    9191}
    9292
    93 ObjectDecl * charStarObj() {
     93ObjectDecl * makeArgvObj() {
    9494        return new ObjectDecl(
    9595                "", Type::StorageClasses(), LinkageSpec::Cforall, 0,
     
    117117        main_type->get_returnVals().push_back( signedIntObj() );
    118118        main_type->get_parameters().push_back( signedIntObj() );
    119         main_type->get_parameters().push_back( charStarObj() );
     119        main_type->get_parameters().push_back( makeArgvObj() );
    120120        return create_mangled_main_function_name( main_type );
    121121}
Note: See TracChangeset for help on using the changeset viewer.