Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    rd3b7937 r2a4b088  
    261261}
    262262
     263Expression *Mutator::mutate( UntypedOffsetofExpr *offsetofExpr ) {
     264        mutateAll( offsetofExpr->get_results(), *this );
     265        offsetofExpr->set_type( maybeMutate( offsetofExpr->get_type(), *this ) );
     266        return offsetofExpr;
     267}
     268
     269Expression *Mutator::mutate( OffsetofExpr *offsetofExpr ) {
     270        mutateAll( offsetofExpr->get_results(), *this );
     271        offsetofExpr->set_type( maybeMutate( offsetofExpr->get_type(), *this ) );
     272        offsetofExpr->set_member( maybeMutate( offsetofExpr->get_member(), *this ) );
     273        return offsetofExpr;
     274}
     275
    263276Expression *Mutator::mutate( AttrExpr *attrExpr ) {
    264277        mutateAll( attrExpr->get_results(), *this );
Note: See TracChangeset for help on using the changeset viewer.