Changes in / [39cf5cc:6d2b3dc]
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ImplementEnumFunc.hpp
r39cf5cc r6d2b3dc 2 2 3 3 namespace ast { 4 4 class TranslationUnit; 5 5 } 6 6 7 7 namespace Validate { 8 9 /// Auto-Generation of enumeration functions. 10 /// Happens before fixReturnStatements because it inserts "unfixed" returns. 11 void implementEnumFunc( ast::TranslationUnit & translationUnit ); 12 8 void implementEnumFunc( ast::TranslationUnit & translationUnit ); 13 9 } -
src/main.cpp
r39cf5cc r6d2b3dc 320 320 PASS( "Forall Pointer Decay", Validate::decayForallPointers, transUnit ); 321 321 PASS( "Fix Qualified Types", Validate::fixQualifiedTypes, transUnit ); 322 322 323 PASS( "Eliminate Typedef", Validate::eliminateTypedef, transUnit ); 323 324 PASS( "Hoist Struct", Validate::hoistStruct, transUnit ); … … 325 326 PASS( "Translate Enum Range Expression", ControlStruct::translateEnumRange, transUnit ); 326 327 PASS( "Translate Dimensions", Validate::translateDimensionParameters, transUnit ); 328 // Need to happen before fixing returns because implementEnumFunc has ReturnStmt 329 327 330 PASS( "Generate Enum Attributes Functions", Validate::implementEnumFunc, transUnit ); 328 331 PASS( "Check Function Returns", Validate::checkReturnStatements, transUnit ); … … 334 337 335 338 PASS( "Generate Autogen Routines", Validate::autogenerateRoutines, transUnit ); 336 339 337 340 PASS( "Implement Actors", Concurrency::implementActors, transUnit ); 338 341 PASS( "Implement Virtual Destructors", Virtual::implementVirtDtors, transUnit ); … … 453 456 return EXIT_FAILURE; 454 457 } // 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();462 458 463 459 Stats::print();
Note: See TracChangeset
for help on using the changeset viewer.