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