Changeset 7fe4adbb
- Timestamp:
- Jul 3, 2024, 3:43:13 PM (5 months ago)
- Branches:
- master
- Children:
- 793eb2f
- Parents:
- 597f284
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.hpp
r597f284 r7fe4adbb 2 2 3 3 namespace ast { 4 4 class TranslationUnit; 5 5 } 6 6 7 7 namespace Validate { 8 void implementEnumFunc( ast::TranslationUnit & translationUnit ); 8 9 /// Auto-Generation of enumeration functions. 10 /// Happens before fixReturnStatements because it inserts "unfixed" returns. 11 void implementEnumFunc( ast::TranslationUnit & translationUnit ); 12 9 13 } -
src/main.cpp
r597f284 r7fe4adbb 326 326 PASS( "Translate Enum Range Expression", ControlStruct::translateEnumRange, transUnit ); 327 327 PASS( "Translate Dimensions", Validate::translateDimensionParameters, transUnit ); 328 // Need to happen before fixing returns because implementEnumFunc has ReturnStmt329 330 328 PASS( "Generate Enum Attributes Functions", Validate::implementEnumFunc, transUnit ); 331 329 PASS( "Check Function Returns", Validate::checkReturnStatements, transUnit ); … … 337 335 338 336 PASS( "Generate Autogen Routines", Validate::autogenerateRoutines, transUnit ); 339 337 340 338 PASS( "Implement Actors", Concurrency::implementActors, transUnit ); 341 339 PASS( "Implement Virtual Destructors", Virtual::implementVirtDtors, transUnit ); … … 456 454 return EXIT_FAILURE; 457 455 } // try 456 457 // This pseudo-pass is used to get more accurate heap statistics. 458 NewPass("Clean-up"); 459 Stats::Time::StartBlock("Clean-Up"); 460 transUnit.global = ast::TranslationGlobal(); 461 transUnit.decls.clear(); 462 Stats::Time::StopBlock(); 458 463 459 464 Stats::print();
Note: See TracChangeset
for help on using the changeset viewer.