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