Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r1db21619 r843054c2  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jul 16 16:10:54 2015
    13 // Update Count     : 3
     12// Last Modified On : Mon May 18 10:10:46 2015
     13// Update Count     : 1
    1414//
    1515
     
    2828Mutator::~Mutator() {}
    2929
    30 DeclarationWithType *Mutator::mutate( ObjectDecl *objectDecl ) {
     30ObjectDecl *Mutator::mutate( ObjectDecl *objectDecl ) {
    3131        objectDecl->set_type( maybeMutate( objectDecl->get_type(), *this ) );
    3232        objectDecl->set_init( maybeMutate( objectDecl->get_init(), *this ) );
     
    109109
    110110Statement *Mutator::mutate( ForStmt *forStmt ) {
    111         mutateAll( forStmt->get_initialization(), *this );
     111        forStmt->set_initialization( maybeMutate( forStmt->get_initialization(), *this ) );
    112112        forStmt->set_condition( maybeMutate( forStmt->get_condition(), *this ) );
    113113        forStmt->set_increment( maybeMutate( forStmt->get_increment(), *this ) );
Note: See TracChangeset for help on using the changeset viewer.