Changeset 39cf5cc
- Timestamp:
- Jul 3, 2024, 5:32:19 PM (3 months ago)
- Branches:
- master
- Children:
- f8f298c
- Parents:
- 6d2b3dc (diff), 793eb2f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.hpp
r6d2b3dc r39cf5cc 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
r6d2b3dc r39cf5cc 320 320 PASS( "Forall Pointer Decay", Validate::decayForallPointers, transUnit ); 321 321 PASS( "Fix Qualified Types", Validate::fixQualifiedTypes, transUnit ); 322 323 322 PASS( "Eliminate Typedef", Validate::eliminateTypedef, transUnit ); 324 323 PASS( "Hoist Struct", Validate::hoistStruct, transUnit ); … … 326 325 PASS( "Translate Enum Range Expression", ControlStruct::translateEnumRange, transUnit ); 327 326 PASS( "Translate Dimensions", Validate::translateDimensionParameters, transUnit ); 328 // Need to happen before fixing returns because implementEnumFunc has ReturnStmt329 330 327 PASS( "Generate Enum Attributes Functions", Validate::implementEnumFunc, transUnit ); 331 328 PASS( "Check Function Returns", Validate::checkReturnStatements, transUnit ); … … 337 334 338 335 PASS( "Generate Autogen Routines", Validate::autogenerateRoutines, transUnit ); 339 336 340 337 PASS( "Implement Actors", Concurrency::implementActors, transUnit ); 341 338 PASS( "Implement Virtual Destructors", Virtual::implementVirtDtors, transUnit ); … … 456 453 return EXIT_FAILURE; 457 454 } // try 455 456 // This pseudo-pass is used to get more accurate heap statistics. 457 NewPass("Clean-up"); 458 Stats::Time::StartBlock("Clean-Up"); 459 transUnit.global = ast::TranslationGlobal(); 460 transUnit.decls.clear(); 461 Stats::Time::StopBlock(); 458 462 459 463 Stats::print();
Note: See TracChangeset
for help on using the changeset viewer.