source: translator/ControlStruct/ChooseMutator.h @ d9a0e76

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 d9a0e76 was d9a0e76, checked in by Peter A. Buhr <pabuhr@…>, 10 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.