Changeset db19e1d for src/Concurrency


Ignore:
Timestamp:
Sep 3, 2024, 12:08:09 PM (8 days ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
737bf73
Parents:
cdbb909
Message:

Changed the interpritation of () to be no parameters instead of any parameters. This had a lot of little changes because of this and some nearby clean-up. This includes some changes, including changing some generated functions to be fixed-args instead of variable-args, stripping out the place holder void parameter earlier, but it still shows up earlier in some cases that examine the parser directly. Also had to update the function generation tools. Have only tested with one --arch. Hopefully this all works out.

Location:
src/Concurrency
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Keywords.cpp

    rcdbb909 rdb19e1d  
    15101510
    15111511ast::ptr<ast::Type> MutexKeyword::generic_func =
    1512         new ast::FunctionType( ast::VariableArgs );
     1512        new ast::FunctionType( ast::FixedArgs );
    15131513
    15141514// --------------------------------------------------------------------------
  • src/Concurrency/Waitfor.cpp

    rcdbb909 rdb19e1d  
    302302        const ast::ObjectDecl * monitors = declMonitors( out, clause );
    303303        ast::Type * fptr_t = new ast::PointerType(
    304                         new ast::FunctionType( ast::VariableArgs ) );
     304                        new ast::FunctionType( ast::FixedArgs ) );
    305305
    306306        const ast::VariableExpr * variableExpr =
Note: See TracChangeset for help on using the changeset viewer.