Changeset a76202d for src/SymTab
- Timestamp:
- Mar 21, 2022, 4:48:10 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 14d5461
- Parents:
- d672350
- Location:
- src/SymTab
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
rd672350 ra76202d 407 407 } 408 408 409 static void decayForallPointers( std::list< Declaration * > & translationUnit ) { 410 PassVisitor<TraitExpander_old> te; 411 acceptAll( translationUnit, te ); 412 PassVisitor<AssertionFixer_old> af; 413 acceptAll( translationUnit, af ); 414 PassVisitor<CheckOperatorTypes_old> cot; 415 acceptAll( translationUnit, cot ); 416 PassVisitor<FixUniqueIds_old> fui; 417 acceptAll( translationUnit, fui ); 418 } 419 409 420 void validate_D( std::list< Declaration * > & translationUnit ) { 410 421 { … … 472 483 } 473 484 } 474 }475 476 void decayForallPointers( std::list< Declaration * > & translationUnit ) {477 PassVisitor<TraitExpander_old> te;478 acceptAll( translationUnit, te );479 PassVisitor<AssertionFixer_old> af;480 acceptAll( translationUnit, af );481 PassVisitor<CheckOperatorTypes_old> cot;482 acceptAll( translationUnit, cot );483 PassVisitor<FixUniqueIds_old> fui;484 acceptAll( translationUnit, fui );485 }486 487 void decayForallPointersA( std::list< Declaration * > & translationUnit ) {488 PassVisitor<TraitExpander_old> te;489 acceptAll( translationUnit, te );490 }491 void decayForallPointersB( std::list< Declaration * > & translationUnit ) {492 PassVisitor<AssertionFixer_old> af;493 acceptAll( translationUnit, af );494 }495 void decayForallPointersC( std::list< Declaration * > & translationUnit ) {496 PassVisitor<CheckOperatorTypes_old> cot;497 acceptAll( translationUnit, cot );498 }499 void decayForallPointersD( std::list< Declaration * > & translationUnit ) {500 PassVisitor<FixUniqueIds_old> fui;501 acceptAll( translationUnit, fui );502 485 } 503 486 -
src/SymTab/Validate.h
rd672350 ra76202d 42 42 void validate_E( std::list< Declaration * > &translationUnit ); 43 43 void validate_F( std::list< Declaration * > &translationUnit ); 44 void decayForallPointers( std::list< Declaration * > & translationUnit );45 void decayForallPointersA( std::list< Declaration * > & translationUnit );46 void decayForallPointersB( std::list< Declaration * > & translationUnit );47 void decayForallPointersC( std::list< Declaration * > & translationUnit );48 void decayForallPointersD( std::list< Declaration * > & translationUnit );49 44 50 45 const ast::Type * validateType(
Note: See TracChangeset
for help on using the changeset viewer.