Changeset d9a0e76 for translator/ControlStruct/ChooseMutator.h
- Timestamp:
- Dec 16, 2014, 9:41:50 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 17cd4eb
- Parents:
- 3848e0e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/ControlStruct/ChooseMutator.h
r3848e0e rd9a0e76 8 8 namespace ControlStruct { 9 9 10 class ChooseMutator : public Mutator 11 { 12 public: 13 ChooseMutator() : insideChoose( false ) {} 10 class ChooseMutator : public Mutator { 11 public: 12 ChooseMutator() : insideChoose( false ) {} 14 13 15 virtual Statement* mutate(ChooseStmt *); 16 virtual Statement* mutate(SwitchStmt *); 17 virtual Statement* mutate(FallthruStmt *); 18 virtual Statement* mutate(CaseStmt *); 19 private: 20 bool insideChoose; 21 }; 22 14 virtual Statement *mutate( ChooseStmt * ); 15 virtual Statement *mutate( SwitchStmt * ); 16 virtual Statement *mutate( FallthruStmt * ); 17 virtual Statement *mutate( CaseStmt * ); 18 private: 19 bool insideChoose; 20 }; 23 21 } // namespace ControlStruct 24 22 25 #endif // #ifndefCHOOSE_MUTATOR_H23 #endif // CHOOSE_MUTATOR_H 26 24 27 25 /*
Note: See TracChangeset
for help on using the changeset viewer.