Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

    r5809461 r135b431  
    205205void Visitor::visit( LabelAddressExpr *labAddressExpr ) {
    206206        maybeAccept( labAddressExpr->get_result(), *this );
     207        maybeAccept( labAddressExpr->get_arg(), *this );
    207208}
    208209
     
    388389void Visitor::visit( PointerType *pointerType ) {
    389390        acceptAll( pointerType->get_forall(), *this );
    390         // xxx - should PointerType visit/mutate dimension?
    391391        maybeAccept( pointerType->get_base(), *this );
    392392}
     
    398398}
    399399
    400 void Visitor::visit( ReferenceType *refType ) {
    401         acceptAll( refType->get_forall(), *this );
    402         maybeAccept( refType->get_base(), *this );
    403 }
    404 
    405400void Visitor::visit( FunctionType *functionType ) {
    406401        acceptAll( functionType->get_forall(), *this );
     
    428423void Visitor::visit( TraitInstType *aggregateUseType ) {
    429424        handleReferenceToType( static_cast< ReferenceToType * >( aggregateUseType ) );
     425        acceptAll( aggregateUseType->get_members(), *this );
    430426}
    431427
Note: See TracChangeset for help on using the changeset viewer.