Changes in src/main.cc [b9f8274:72e76fd]
- File:
-
- 1 edited
-
src/main.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
rb9f8274 r72e76fd 10 10 // Created On : Fri May 15 23:12:02 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tue Ju l 12 12:02:00 202213 // Update Count : 67 512 // Last Modified On : Tue Jun 7 13:29:00 2022 13 // Update Count : 674 14 14 // 15 15 … … 78 78 #include "Validate/CompoundLiteral.hpp" // for handleCompoundLiterals 79 79 #include "Validate/EliminateTypedef.hpp" // for eliminateTypedef 80 #include "Validate/EnumAndPointerDecay.hpp" // for decayEnumsAndPointers81 80 #include "Validate/FindSpecialDecls.h" // for findGlobalDecls 82 81 #include "Validate/FixQualifiedTypes.hpp" // for fixQualifiedTypes 83 #include "Validate/FixReturnTypes.hpp" // for fixReturnTypes84 82 #include "Validate/ForallPointerDecay.hpp" // for decayForallPointers 85 83 #include "Validate/GenericParameter.hpp" // for fillGenericParameters, tr... 86 84 #include "Validate/HoistStruct.hpp" // for hoistStruct 87 #include "Validate/HoistTypeDecls.hpp" // for hoistTypeDecls88 85 #include "Validate/InitializerLength.hpp" // for setLengthFromInitializer 89 86 #include "Validate/LabelAddressFixer.hpp" // for fixLabelAddresses 90 87 #include "Validate/LinkReferenceToTypes.hpp" // for linkReferenceToTypes 91 #include "Validate/ReplaceTypedef.hpp" // for replaceTypedef92 88 #include "Validate/ReturnCheck.hpp" // for checkReturnStatements 93 #include "Validate/VerifyCtorDtorAssign.hpp" // for verifyCtorDtorAssign94 89 #include "Virtual/ExpandCasts.h" // for expandCasts 95 90 … … 336 331 } // if 337 332 333 // add the assignment statement after the initialization of a type parameter 334 PASS( "Validate-A", SymTab::validate_A( translationUnit ) ); 335 338 336 CodeTools::fillLocations( translationUnit ); 339 337 … … 348 346 349 347 forceFillCodeLocations( transUnit ); 350 351 // Must happen before auto-gen, or anything that examines ops.352 PASS( "Verify Ctor, Dtor & Assign", Validate::verifyCtorDtorAssign( transUnit ) );353 354 PASS( "Hoist Type Decls", Validate::hoistTypeDecls( transUnit ) );355 // Hoist Type Decls pulls some declarations out of contexts where356 // locations are not tracked. Perhaps they should be, but for now357 // the full fill solves it.358 forceFillCodeLocations( transUnit );359 360 PASS( "Replace Typedefs", Validate::replaceTypedef( transUnit ) );361 362 // Must happen before auto-gen.363 PASS( "Fix Return Types", Validate::fixReturnTypes( transUnit ) );364 365 // Must happen before Link Reference to Types, it needs correct366 // types for mangling.367 PASS( "Enum and Pointer Decay", Validate::decayEnumsAndPointers( transUnit ) );368 348 369 349 // Must happen before auto-gen, because it uses the sized flag. … … 473 453 translationUnit = convert( move( transUnit ) ); 474 454 } else { 475 // add the assignment statement after the initialization of a type parameter 476 PASS( "Validate", SymTab::validate( translationUnit ) ); 455 PASS( "Validate-B", SymTab::validate_B( translationUnit ) ); 456 PASS( "Validate-C", SymTab::validate_C( translationUnit ) ); 457 PASS( "Validate-D", SymTab::validate_D( translationUnit ) ); 458 PASS( "Validate-E", SymTab::validate_E( translationUnit ) ); 459 PASS( "Validate-F", SymTab::validate_F( translationUnit ) ); 477 460 478 461 if ( symtabp ) {
Note:
See TracChangeset
for help on using the changeset viewer.