Changeset fc134a48 for src/Validate


Ignore:
Timestamp:
Jun 2, 2022, 4:12:53 AM (2 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
1df492a, 90a8125, e5d9274
Parents:
01f6a06
Message:

Implement the struct enum

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/Autogen.cpp

    r01f6a06 rfc134a48  
    402402        auto retval = srcParam();
    403403        retval->name = "_ret";
     404        // xxx - Adding this unused attribute can slience unused variable warning
     405        // However, some code might not be compiled as expected
     406        // Temporarily disabled
     407        // retval->attributes.push_back(new ast::Attribute("unused"));
    404408        return genProto( "?=?", { dstParam(), srcParam() }, { retval } );
    405409}
Note: See TracChangeset for help on using the changeset viewer.