Ignore:
Timestamp:
Jul 12, 2016, 6:34:10 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
e4d3ceb
Parents:
6e4b913
Message:

changes for switch and choose statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/DeclMutator.cc

    r6e4b913 r4e06c1e  
    99// Author           : Aaron B. Moss
    1010// Created On       : Fri Nov 27 14:44:00 2015
    11 // Last Modified By : Aaron B. Moss
    12 // Last Modified On : Fri Nov 27 14:44:00 2015
    13 // Update Count     : 1
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue Jul 12 17:38:46 2016
     13// Update Count     : 2
    1414//
    1515
     
    167167        }
    168168       
    169         Statement* DeclMutator::mutate(ChooseStmt *chooseStmt) {
    170                 chooseStmt->set_condition( maybeMutate( chooseStmt->get_condition(), *this ) );
    171                 mutateAll( chooseStmt->get_branches(), *this );
    172                 return chooseStmt;
    173         }
    174        
    175169        Statement* DeclMutator::mutate(CaseStmt *caseStmt) {
    176170                caseStmt->set_condition( maybeMutate( caseStmt->get_condition(), *this ) );
Note: See TracChangeset for help on using the changeset viewer.