Changes in src/SynTree/Visitor.cc [5809461:135b431]
- File:
-
- 1 edited
-
src/SynTree/Visitor.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r5809461 r135b431 205 205 void Visitor::visit( LabelAddressExpr *labAddressExpr ) { 206 206 maybeAccept( labAddressExpr->get_result(), *this ); 207 maybeAccept( labAddressExpr->get_arg(), *this ); 207 208 } 208 209 … … 388 389 void Visitor::visit( PointerType *pointerType ) { 389 390 acceptAll( pointerType->get_forall(), *this ); 390 // xxx - should PointerType visit/mutate dimension?391 391 maybeAccept( pointerType->get_base(), *this ); 392 392 } … … 398 398 } 399 399 400 void Visitor::visit( ReferenceType *refType ) {401 acceptAll( refType->get_forall(), *this );402 maybeAccept( refType->get_base(), *this );403 }404 405 400 void Visitor::visit( FunctionType *functionType ) { 406 401 acceptAll( functionType->get_forall(), *this ); … … 428 423 void Visitor::visit( TraitInstType *aggregateUseType ) { 429 424 handleReferenceToType( static_cast< ReferenceToType * >( aggregateUseType ) ); 425 acceptAll( aggregateUseType->get_members(), *this ); 430 426 } 431 427
Note:
See TracChangeset
for help on using the changeset viewer.