Changeset d83b266 for src/Common/PassVisitor.impl.h
- Timestamp:
- Jul 26, 2021, 2:42:34 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0a061c0
- Parents:
- c86ee4c (diff), 98233b3 (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/Common/PassVisitor.impl.h
rc86ee4c rd83b266 3610 3610 3611 3611 //-------------------------------------------------------------------------- 3612 // VTableType 3613 template< typename pass_type > 3614 void PassVisitor< pass_type >::visit( VTableType * node ) { 3615 VISIT_START( node ); 3616 3617 // Forall qualifiers should be on base type, not here 3618 // maybeAccept_impl( node->forall, *this ); 3619 maybeAccept_impl( node->base, *this ); 3620 3621 VISIT_END( node ); 3622 } 3623 3624 template< typename pass_type > 3625 void PassVisitor< pass_type >::visit( const VTableType * node ) { 3626 VISIT_START( node ); 3627 3628 // Forall qualifiers should be on base type, not here 3629 // maybeAccept_impl( node->forall, *this ); 3630 maybeAccept_impl( node->base, *this ); 3631 3632 VISIT_END( node ); 3633 } 3634 3635 template< typename pass_type > 3636 Type * PassVisitor< pass_type >::mutate( VTableType * node ) { 3637 MUTATE_START( node ); 3638 3639 // Forall qualifiers should be on base type, not here 3640 // maybeMutate_impl( node->forall, *this ); 3641 maybeMutate_impl( node->base, *this ); 3642 3643 MUTATE_END( Type, node ); 3644 } 3645 3646 //-------------------------------------------------------------------------- 3612 3647 // AttrType 3613 3648 template< typename pass_type >
Note:
See TracChangeset
for help on using the changeset viewer.