Changes in src/ControlStruct/Mutate.cc [982d63f:4e06c1e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/Mutate.cc
r982d63f r4e06c1e 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Wed Jul 15 14:50:04 201513 // Update Count : 711 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 12 17:37:45 2016 13 // Update Count : 8 14 14 // 15 15 … … 20 20 21 21 #include "Mutate.h" 22 #include "ChooseMutator.h"23 22 #include "LabelFixer.h" 24 23 #include "MLEMutator.h" … … 39 38 ForExprMutator formut; 40 39 41 // transform choose statements into switch statements 42 ChooseMutator chmut; 43 44 // normalizes label definitions and generates multi-level 45 // exit labels 40 // normalizes label definitions and generates multi-level exit labels 46 41 LabelFixer lfix; 47 42 48 43 // expand case ranges and turn fallthru into a null statement 49 CaseRangeMutator ranges; // has to run after ChooseMutator44 CaseRangeMutator ranges; 50 45 51 46 //ExceptMutator exc; … … 53 48 54 49 mutateAll( translationUnit, formut ); 55 mutateAll( translationUnit, chmut );56 50 acceptAll( translationUnit, lfix ); 57 51 mutateAll( translationUnit, ranges );
Note:
See TracChangeset
for help on using the changeset viewer.