Changes in src/SynTree/Mutator.cc [afc1045:630a82a]
- File:
-
- 1 edited
-
src/SynTree/Mutator.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
rafc1045 r630a82a 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Mar 2 17:28:20201613 // Update Count : 1 212 // Last Modified On : Fri Apr 1 18:05:16 2016 13 // Update Count : 16 14 14 // 15 15 … … 274 274 } 275 275 276 Expression *Mutator::mutate( OffsetPackExpr *offsetPackExpr ) {277 mutateAll( offsetPackExpr->get_results(), *this );278 offsetPackExpr->set_type( maybeMutate( offsetPackExpr->get_type(), *this ) );279 return offsetPackExpr;280 }281 282 276 Expression *Mutator::mutate( AttrExpr *attrExpr ) { 283 277 mutateAll( attrExpr->get_results(), *this ); … … 340 334 mutateAll( valofExpr->get_results(), *this ); 341 335 return valofExpr; 336 } 337 338 Expression *Mutator::mutate( CompoundLiteralExpr *compLitExpr ) { 339 mutateAll( compLitExpr->get_results(), *this ); 340 compLitExpr->set_type( maybeMutate( compLitExpr->get_type(), *this ) ); 341 compLitExpr->set_initializer( maybeMutate( compLitExpr->get_initializer(), *this ) ); 342 return compLitExpr; 342 343 } 343 344
Note:
See TracChangeset
for help on using the changeset viewer.