Changeset d5556a3 for src/SynTree/Mutator.cc
- Timestamp:
- Dec 13, 2016, 5:37:15 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 31f379c
- Parents:
- 1d2b64f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r1d2b64f rd5556a3 325 325 mutateAll( impCpCtorExpr->get_tempDecls(), *this ); 326 326 mutateAll( impCpCtorExpr->get_returnDecls(), *this ); 327 mutateAll( impCpCtorExpr->get_dtors(), *this ); 327 328 return impCpCtorExpr; 328 329 } … … 373 374 Expression *Mutator::mutate( TupleAssignExpr *assignExpr ) { 374 375 assignExpr->set_result( maybeMutate( assignExpr->get_result(), *this ) ); 375 mutateAll( assignExpr->get_tempDecls(), *this ); 376 mutateAll( assignExpr->get_assigns(), *this ); 376 assignExpr->set_stmtExpr( maybeMutate( assignExpr->get_stmtExpr(), *this ) ); 377 377 return assignExpr; 378 378 } … … 381 381 stmtExpr->set_result( maybeMutate( stmtExpr->get_result(), *this ) ); 382 382 stmtExpr->set_statements( maybeMutate( stmtExpr->get_statements(), *this ) ); 383 mutateAll( stmtExpr->get_returnDecls(), *this ); 384 mutateAll( stmtExpr->get_dtors(), *this ); 383 385 return stmtExpr; 384 386 } … … 503 505 Initializer *Mutator::mutate( ConstructorInit *ctorInit ) { 504 506 ctorInit->set_ctor( maybeMutate( ctorInit->get_ctor(), *this ) ); 507 ctorInit->set_dtor( maybeMutate( ctorInit->get_dtor(), *this ) ); 505 508 ctorInit->set_init( maybeMutate( ctorInit->get_init(), *this ) ); 506 509 return ctorInit;
Note: See TracChangeset
for help on using the changeset viewer.