source: translator/ControlStruct/ChooseMutator.h@ 643a2e1

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since 643a2e1 was d9a0e76, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago

remove Parser.old, add -XCFA to driver, copy ptrdiff_t from stddef.h in preclude, remove casts from initialization constants, adjust formatting

  • Property mode set to 100644
File size: 552 bytes
Line 
1#ifndef CHOOSE_MUTATOR_H
2#define CHOOSE_MUTATOR_H
3
4#include "SynTree/Mutator.h"
5
6#include "utility.h"
7
8namespace ControlStruct {
9
10 class ChooseMutator : public Mutator {
11 public:
12 ChooseMutator() : insideChoose( false ) {}
13
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 };
21} // namespace ControlStruct
22
23#endif // CHOOSE_MUTATOR_H
24
25/*
26 Local Variables:
27 mode: c++
28 End:
29*/
Note: See TracBrowser for help on using the repository browser.