Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r4040425 r630a82a  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Mar  2 17:28:20 2016
    13 // Update Count     : 12
     12// Last Modified On : Fri Apr  1 18:05:16 2016
     13// Update Count     : 16
    1414//
    1515
     
    336336}
    337337
     338Expression *Mutator::mutate( CompoundLiteralExpr *compLitExpr ) {
     339        mutateAll( compLitExpr->get_results(), *this );
     340        compLitExpr->set_type( maybeMutate( compLitExpr->get_type(), *this ) );
     341        compLitExpr->set_initializer( maybeMutate( compLitExpr->get_initializer(), *this ) );
     342        return compLitExpr;
     343}
     344
    338345Type *Mutator::mutate( VoidType *voidType ) {
    339346        mutateAll( voidType->get_forall(), *this );
Note: See TracChangeset for help on using the changeset viewer.