Changes in src/SynTree/Mutator.cc [4ffdd63:630a82a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r4ffdd63 r630a82a 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 : Rob Schluntz12 // Last Modified On : Wed Apr 27 17:07:29201611 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Apr 1 18:05:16 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 282 276 Expression *Mutator::mutate( AttrExpr *attrExpr ) { 283 277 mutateAll( attrExpr->get_results(), *this ); … … 335 329 asmExpr->set_operand( maybeMutate( asmExpr->get_operand(), *this ) ); 336 330 return asmExpr; 337 }338 339 Expression* Mutator::mutate( ImplicitCopyCtorExpr *impCpCtorExpr ) {340 impCpCtorExpr->set_callExpr( maybeMutate( impCpCtorExpr->get_callExpr(), *this ) );341 mutateAll( impCpCtorExpr->get_tempDecls(), *this );342 mutateAll( impCpCtorExpr->get_returnDecls(), *this );343 return impCpCtorExpr;344 331 } 345 332 … … 457 444 } 458 445 459 Initializer *Mutator::mutate( ConstructorInit *ctorInit ) {460 ctorInit->set_ctor( maybeMutate( ctorInit->get_ctor(), *this ) );461 ctorInit->set_init( maybeMutate( ctorInit->get_init(), *this ) );462 return ctorInit;463 }464 465 446 Subrange *Mutator::mutate( Subrange *subrange ) { 466 447 return subrange;
Note: See TracChangeset
for help on using the changeset viewer.