Ignore:
Timestamp:
Dec 12, 2024, 4:35:32 PM (6 days ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
8ee211d
Parents:
f979f0ba
Message:

Mitigate several unused-declaration warnings in generated code.

See tests/nowarn/unused for the specific cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/ImplementEnumFunc.cpp

    rf979f0ba r35cc6d4  
    240240        return genProto(
    241241                "type_name",
    242                 {new ast::ObjectDecl(getLocation(), "_i", new ast::EnumInstType(decl))},
     242                {new ast::ObjectDecl(getLocation(), "", new ast::EnumInstType(decl))},
    243243                {new ast::ObjectDecl(
    244244                        getLocation(), "_ret",
Note: See TracChangeset for help on using the changeset viewer.