Changeset 4e06c1e for src/ControlStruct/CaseRangeMutator.cc
- Timestamp:
- Jul 12, 2016, 6:34:10 PM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/CaseRangeMutator.cc
r6e4b913 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.