Changes in src/SynTree/Mutator.cc [630a82a:dc2e7e0]
- File:
-
- 1 edited
-
src/SynTree/Mutator.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r630a82a rdc2e7e0 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Mutator.cc -- 7 // Mutator.cc -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri Apr 1 18:05:16201611 // Last Modified By : Rob Schluntz 12 // Last Modified On : Mon Apr 18 17:29:55 2016 13 13 // Update Count : 16 14 14 // … … 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 276 282 Expression *Mutator::mutate( AttrExpr *attrExpr ) { 277 283 mutateAll( attrExpr->get_results(), *this ); … … 329 335 asmExpr->set_operand( maybeMutate( asmExpr->get_operand(), *this ) ); 330 336 return asmExpr; 337 } 338 339 Expression* Mutator::mutate( ImplicitCopyCtorExpr *impCpCtorExpr ) { 340 impCpCtorExpr->set_callExpr( maybeMutate( impCpCtorExpr->get_callExpr(), *this ) ); 341 mutateAll( impCpCtorExpr->get_copyCtors(), *this ); 342 mutateAll( impCpCtorExpr->get_tempDecls(), *this ); 343 mutateAll( impCpCtorExpr->get_returnDecls(), *this ); 344 return impCpCtorExpr; 331 345 } 332 346 … … 444 458 } 445 459 460 Initializer *Mutator::mutate( ConstructorInit *ctorInit ) { 461 ctorInit->set_ctor( maybeMutate( ctorInit->get_ctor(), *this ) ); 462 ctorInit->set_init( maybeMutate( ctorInit->get_init(), *this ) ); 463 return ctorInit; 464 } 465 446 466 Subrange *Mutator::mutate( Subrange *subrange ) { 447 467 return subrange;
Note:
See TracChangeset
for help on using the changeset viewer.