Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cpp

    rdb19e1d r661e7b0  
    180180
    181181        if ( 0 == decl->params.size() ) {
    182                 if ( !decl->type->isVarArgs ) {
    183                         acc << "(void)";
    184                 } else if ( options.genC ) {
     182                if ( decl->type->isVarArgs ) {
    185183                        acc << "()";
    186184                } else {
    187                         acc << "(...)";
     185                        acc << "(void)";
    188186                }
    189187        } else {
Note: See TracChangeset for help on using the changeset viewer.