Changeset d4b37ab for src/SymTab/Validate.cc
- Timestamp:
- Jul 13, 2022, 11:16:56 AM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- af75a87, d958834b
- Parents:
- 25404c7 (diff), b9f8274 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
r25404c7 rd4b37ab 10 10 // Created On : Sun May 17 21:50:04 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tue May 17 14:36:00 202213 // Update Count : 36 612 // Last Modified On : Tue Jul 12 15:00:00 2022 13 // Update Count : 367 14 14 // 15 15 … … 294 294 }; 295 295 296 void validate _A( std::list< Declaration * > & translationUnit) {296 void validate( std::list< Declaration * > &translationUnit, __attribute__((unused)) bool doDebug ) { 297 297 PassVisitor<HoistTypeDecls> hoistDecls; 298 298 { … … 305 305 decayEnumsAndPointers( translationUnit ); // must happen before VerifyCtorDtorAssign, because void return objects should not exist; before LinkReferenceToTypes_old because it is an indexer and needs correct types for mangling 306 306 } 307 }308 309 void validate_B( std::list< Declaration * > & translationUnit ) {310 307 PassVisitor<FixQualifiedTypes> fixQual; 311 308 { … … 317 314 EliminateTypedef::eliminateTypedef( translationUnit ); 318 315 } 319 }320 321 void validate_C( std::list< Declaration * > & translationUnit ) {322 316 PassVisitor<ValidateGenericParameters> genericParams; 323 317 PassVisitor<ResolveEnumInitializers> rei( nullptr ); … … 343 337 }); 344 338 } 345 }346 347 void validate_D( std::list< Declaration * > & translationUnit ) {348 339 { 349 340 Stats::Heap::newPass("validate-D"); … … 362 353 }); 363 354 } 364 }365 366 void validate_E( std::list< Declaration * > & translationUnit ) {367 355 PassVisitor<CompoundLiteral> compoundliteral; 368 356 { … … 384 372 } 385 373 } 386 }387 388 void validate_F( std::list< Declaration * > & translationUnit ) {389 374 PassVisitor<LabelAddressFixer> labelAddrFixer; 390 375 { … … 410 395 } 411 396 } 412 }413 414 void validate( std::list< Declaration * > &translationUnit, __attribute__((unused)) bool doDebug ) {415 validate_A( translationUnit );416 validate_B( translationUnit );417 validate_C( translationUnit );418 validate_D( translationUnit );419 validate_E( translationUnit );420 validate_F( translationUnit );421 397 } 422 398
Note: See TracChangeset
for help on using the changeset viewer.