Changeset fc134a48 for src/Validate
- Timestamp:
- Jun 2, 2022, 4:12:53 AM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 1df492a, 90a8125, e5d9274
- Parents:
- 01f6a06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/Autogen.cpp
r01f6a06 rfc134a48 402 402 auto retval = srcParam(); 403 403 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")); 404 408 return genProto( "?=?", { dstParam(), srcParam() }, { retval } ); 405 409 }
Note: See TracChangeset
for help on using the changeset viewer.