Changeset a76202d for src/SymTab/Validate.cc
- Timestamp:
- Mar 21, 2022, 4:48:10 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 14d5461
- Parents:
- d672350
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.