Changes in src/ControlStruct/Mutate.cc [4e06c1e:982d63f]
- File:
-
- 1 edited
-
src/ControlStruct/Mutate.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/Mutate.cc
r4e06c1e r982d63f 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 : Tue Jul 12 17:37:45 201613 // Update Count : 811 // 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" … … 38 39 ForExprMutator formut; 39 40 40 // normalizes label definitions and generates multi-level exit labels 41 // transform choose statements into switch statements 42 ChooseMutator chmut; 43 44 // normalizes label definitions and generates multi-level 45 // exit labels 41 46 LabelFixer lfix; 42 47 43 48 // expand case ranges and turn fallthru into a null statement 44 CaseRangeMutator ranges; 49 CaseRangeMutator ranges; // has to run after ChooseMutator 45 50 46 51 //ExceptMutator exc; … … 48 53 49 54 mutateAll( translationUnit, formut ); 55 mutateAll( translationUnit, chmut ); 50 56 acceptAll( translationUnit, lfix ); 51 57 mutateAll( translationUnit, ranges );
Note:
See TracChangeset
for help on using the changeset viewer.