Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/CaseRangeMutator.cc

    rca35c51 r4e06c1e  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jun 30 13:28:55 2016
    13 // Update Count     : 8
     12// Last Modified On : Tue Jul 12 17:35:13 2016
     13// Update Count     : 9
    1414//
    1515
     
    2828
    2929namespace ControlStruct {
    30         Statement *CaseRangeMutator::mutate( ChooseStmt *chooseStmt ) {
    31                 // There shouldn't be any `choose' statements by now, throw an exception or something.
    32                 throw( 0 ) ; /* FIXME */
    33         }
    34 
    3530        Statement *CaseRangeMutator::mutate( SwitchStmt *switchStmt ) {
    3631                std::list< Statement * > &cases = switchStmt->get_branches();
     
    6964
    7065                return switchStmt;
    71         }
    72 
    73         Statement *CaseRangeMutator::mutate( FallthruStmt *fallthruStmt ) {
    74                 //delete fallthruStmt;
    75                 return new NullStmt();
    7666        }
    7767
Note: See TracChangeset for help on using the changeset viewer.