Changes in src/ControlStruct/Mutate.cc [145f1fc:8688ce1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/Mutate.cc
r145f1fc r8688ce1 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 : 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 : Thu Aug 4 11:39:08 2016 13 // Update Count : 9 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" 25 #include "CaseRangeMutator.h"26 24 #include "ForExprMutator.h" 27 25 #include "LabelTypeChecker.h" 28 26 //#include "ExceptMutator.h" 29 27 30 #include " utility.h"28 #include "Common/utility.h" 31 29 32 30 #include "SynTree/Visitor.h" … … 39 37 ForExprMutator formut; 40 38 41 // normalizes label definitions and generates multi-level 42 // exit labels 39 // normalizes label definitions and generates multi-level exit labels 43 40 LabelFixer lfix; 44 45 // transform choose statements into switch statements46 ChooseMutator chmut;47 48 // expand case ranges and turn fallthru into a null statement49 CaseRangeMutator ranges; // has to run after ChooseMutator50 41 51 42 //ExceptMutator exc; … … 54 45 mutateAll( translationUnit, formut ); 55 46 acceptAll( translationUnit, lfix ); 56 mutateAll( translationUnit, chmut );57 mutateAll( translationUnit, ranges );58 47 //mutateAll( translationUnit, exc ); 59 48 //acceptAll( translationUnit, lbl );
Note:
See TracChangeset
for help on using the changeset viewer.