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 56c3935 was
843054c2,
checked in by Peter A. Buhr <pabuhr@…>, 9 years ago
|
licencing: seventh groups of files
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | // |
---|
2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo |
---|
3 | // |
---|
4 | // The contents of this file are covered under the licence agreement in the |
---|
5 | // file "LICENCE" distributed with Cforall. |
---|
6 | // |
---|
7 | // Mutate.cc -- |
---|
8 | // |
---|
9 | // Author : Rodolfo G. Esteves |
---|
10 | // Created On : Mon May 18 07:44:20 2015 |
---|
11 | // Last Modified By : Peter A. Buhr |
---|
12 | // Last Modified On : Tue May 19 15:32:52 2015 |
---|
13 | // Update Count : 2 |
---|
14 | // |
---|
15 | |
---|
16 | #include <algorithm> |
---|
17 | #include <iostream> |
---|
18 | #include <cassert> |
---|
19 | #include <list> |
---|
20 | |
---|
21 | #include "Mutate.h" |
---|
22 | #include "ChooseMutator.h" |
---|
23 | #include "LabelFixer.h" |
---|
24 | #include "MLEMutator.h" |
---|
25 | #include "CaseRangeMutator.h" |
---|
26 | #include "ForExprMutator.h" |
---|
27 | #include "LabelTypeChecker.h" |
---|
28 | //#include "ExceptMutator.h" |
---|
29 | |
---|
30 | #include "utility.h" |
---|
31 | |
---|
32 | #include "SynTree/Visitor.h" |
---|
33 | |
---|
34 | using namespace std; |
---|
35 | |
---|
36 | namespace ControlStruct { |
---|
37 | void mutate( std::list< Declaration * > translationUnit ) { |
---|
38 | // ForExprMutator formut; |
---|
39 | LabelFixer lfix; |
---|
40 | ChooseMutator chmut; |
---|
41 | CaseRangeMutator ranges; // has to run after ChooseMutator |
---|
42 | //ExceptMutator exc; |
---|
43 | // LabelTypeChecker lbl; |
---|
44 | |
---|
45 | // mutateAll( translationUnit, formut ); |
---|
46 | acceptAll( translationUnit, lfix ); |
---|
47 | mutateAll( translationUnit, chmut ); |
---|
48 | mutateAll( translationUnit, ranges ); |
---|
49 | //mutateAll( translationUnit, exc ); |
---|
50 | //acceptAll( translationUnit, lbl ); |
---|
51 | } |
---|
52 | } // namespace CodeGen |
---|
53 | |
---|
54 | // Local Variables: // |
---|
55 | // tab-width: 4 // |
---|
56 | // mode: c++ // |
---|
57 | // compile-command: "make install" // |
---|
58 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.