Changes in src/ControlStruct/Mutate.cc [8688ce1:145f1fc]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/Mutate.cc
r8688ce1 r145f1fc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Mutate.cc -- 7 // Mutate.cc -- 8 8 // 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Thu Aug 4 11:39:08 201613 // Update Count : 911 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Jul 15 14:50:04 2015 13 // Update Count : 7 14 14 // 15 15 … … 20 20 21 21 #include "Mutate.h" 22 #include "ChooseMutator.h" 22 23 #include "LabelFixer.h" 23 24 #include "MLEMutator.h" 25 #include "CaseRangeMutator.h" 24 26 #include "ForExprMutator.h" 25 27 #include "LabelTypeChecker.h" 26 28 //#include "ExceptMutator.h" 27 29 28 #include " Common/utility.h"30 #include "utility.h" 29 31 30 32 #include "SynTree/Visitor.h" … … 37 39 ForExprMutator formut; 38 40 39 // normalizes label definitions and generates multi-level exit labels 41 // normalizes label definitions and generates multi-level 42 // exit labels 40 43 LabelFixer lfix; 44 45 // transform choose statements into switch statements 46 ChooseMutator chmut; 47 48 // expand case ranges and turn fallthru into a null statement 49 CaseRangeMutator ranges; // has to run after ChooseMutator 41 50 42 51 //ExceptMutator exc; … … 45 54 mutateAll( translationUnit, formut ); 46 55 acceptAll( translationUnit, lfix ); 56 mutateAll( translationUnit, chmut ); 57 mutateAll( translationUnit, ranges ); 47 58 //mutateAll( translationUnit, exc ); 48 59 //acceptAll( translationUnit, lbl );
Note:
See TracChangeset
for help on using the changeset viewer.