- Timestamp:
- Jul 10, 2024, 3:45:11 AM (4 months ago)
- Branches:
- master
- Children:
- 9d5eacb
- Parents:
- dbff8ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.cpp
rdbff8ec r725f777f 464 464 465 465 void EnumAttrFuncGenerator::genTypedEnumFuncs() { 466 //genTypedEnumFunction(ast::EnumAttribute::Value);467 //genTypedEnumFunction(ast::EnumAttribute::Label);468 //genTypedEnumFunction(ast::EnumAttribute::Posn);466 genTypedEnumFunction(ast::EnumAttribute::Value); 467 genTypedEnumFunction(ast::EnumAttribute::Label); 468 genTypedEnumFunction(ast::EnumAttribute::Posn); 469 469 } 470 470 … … 479 479 std::list<ast::ptr<ast::Decl>>& decls) { 480 480 // Generate the functions (they go into forwards and definitions). 481 //genTypeNameFunc();481 genTypeNameFunc(); 482 482 genTypedEnumFuncs(); 483 //genSerialTraitFuncs();484 //genBoundedFunctions();483 genSerialTraitFuncs(); 484 genBoundedFunctions(); 485 485 // Now export the lists contents. 486 486 decls.splice(decls.end(), forwards); … … 506 506 enumInst.base = enumDecl; 507 507 EnumAttrFuncGenerator gen(enumDecl, &enumInst, functionNesting); 508 //gen.generateAndAppendFunctions(declsToAddAfter);508 gen.generateAndAppendFunctions(declsToAddAfter); 509 509 } 510 510
Note: See TracChangeset
for help on using the changeset viewer.