ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since 51b7345 was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
569 bytes
|
Line | |
---|
1 | #ifndef CHOOSE_MUTATOR_H |
---|
2 | #define CHOOSE_MUTATOR_H |
---|
3 | |
---|
4 | #include "SynTree/Mutator.h" |
---|
5 | |
---|
6 | #include "utility.h" |
---|
7 | |
---|
8 | namespace ControlStruct { |
---|
9 | |
---|
10 | class ChooseMutator : public Mutator |
---|
11 | { |
---|
12 | public: |
---|
13 | ChooseMutator() : insideChoose( false ) {} |
---|
14 | |
---|
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 | |
---|
23 | } // namespace ControlStruct |
---|
24 | |
---|
25 | #endif // #ifndef CHOOSE_MUTATOR_H |
---|
26 | |
---|
27 | /* |
---|
28 | Local Variables: |
---|
29 | mode: c++ |
---|
30 | End: |
---|
31 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.