- File:
-
- 1 edited
-
src/ControlStruct/CaseRangeMutator.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/CaseRangeMutator.cc
rca35c51 r4e06c1e 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Jun 30 13:28:55201613 // Update Count : 812 // Last Modified On : Tue Jul 12 17:35:13 2016 13 // Update Count : 9 14 14 // 15 15 … … 28 28 29 29 namespace 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 35 30 Statement *CaseRangeMutator::mutate( SwitchStmt *switchStmt ) { 36 31 std::list< Statement * > &cases = switchStmt->get_branches(); … … 69 64 70 65 return switchStmt; 71 }72 73 Statement *CaseRangeMutator::mutate( FallthruStmt *fallthruStmt ) {74 //delete fallthruStmt;75 return new NullStmt();76 66 } 77 67
Note:
See TracChangeset
for help on using the changeset viewer.