Changes in src/SynTree/Mutator.cc [8688ce1:4e06c1e]
- File:
-
- 1 edited
-
src/SynTree/Mutator.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r8688ce1 r4e06c1e 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Aug 4 11:23:21201613 // Update Count : 1 912 // Last Modified On : Tue Jul 12 17:51:19 2016 13 // Update Count : 17 14 14 // 15 15 … … 126 126 Statement *Mutator::mutate( SwitchStmt *switchStmt ) { 127 127 switchStmt->set_condition( maybeMutate( switchStmt->get_condition(), *this ) ); 128 mutateAll( switchStmt->get_ statements(), *this );128 mutateAll( switchStmt->get_branches(), *this ); 129 129 return switchStmt; 130 130 } … … 349 349 compLitExpr->set_initializer( maybeMutate( compLitExpr->get_initializer(), *this ) ); 350 350 return compLitExpr; 351 }352 353 Expression *Mutator::mutate( RangeExpr *rangeExpr ) {354 rangeExpr->set_low( maybeMutate( rangeExpr->get_low(), *this ) );355 rangeExpr->set_high( maybeMutate( rangeExpr->get_high(), *this ) );356 return rangeExpr;357 351 } 358 352
Note:
See TracChangeset
for help on using the changeset viewer.