Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

    r135b431 r5809461  
    205205void Visitor::visit( LabelAddressExpr *labAddressExpr ) {
    206206        maybeAccept( labAddressExpr->get_result(), *this );
    207         maybeAccept( labAddressExpr->get_arg(), *this );
    208207}
    209208
     
    389388void Visitor::visit( PointerType *pointerType ) {
    390389        acceptAll( pointerType->get_forall(), *this );
     390        // xxx - should PointerType visit/mutate dimension?
    391391        maybeAccept( pointerType->get_base(), *this );
    392392}
     
    398398}
    399399
     400void Visitor::visit( ReferenceType *refType ) {
     401        acceptAll( refType->get_forall(), *this );
     402        maybeAccept( refType->get_base(), *this );
     403}
     404
    400405void Visitor::visit( FunctionType *functionType ) {
    401406        acceptAll( functionType->get_forall(), *this );
     
    423428void Visitor::visit( TraitInstType *aggregateUseType ) {
    424429        handleReferenceToType( static_cast< ReferenceToType * >( aggregateUseType ) );
    425         acceptAll( aggregateUseType->get_members(), *this );
    426430}
    427431
Note: See TracChangeset for help on using the changeset viewer.