Changeset f80e0218 for src/SynTree/Mutator.cc
- Timestamp:
- Jun 30, 2016, 4:32:56 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- ea29e73
- Parents:
- 1b5c81ed (diff), 84d4d6f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/SynTree/Mutator.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r1b5c81ed rf80e0218 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 : Wed Apr 27 17:07:29 2016 13 13 // Update Count : 16 14 14 // … … 182 182 } 183 183 184 Statement *Mutator::mutate( ImplicitCtorDtorStmt *impCtorDtorStmt ) { 185 impCtorDtorStmt->set_callStmt( maybeMutate( impCtorDtorStmt->get_callStmt(), *this ) ); 186 return impCtorDtorStmt; 187 } 188 184 189 Expression *Mutator::mutate( ApplicationExpr *applicationExpr ) { 185 190 mutateAll( applicationExpr->get_results(), *this ); … … 335 340 asmExpr->set_operand( maybeMutate( asmExpr->get_operand(), *this ) ); 336 341 return asmExpr; 342 } 343 344 Expression* Mutator::mutate( ImplicitCopyCtorExpr *impCpCtorExpr ) { 345 impCpCtorExpr->set_callExpr( maybeMutate( impCpCtorExpr->get_callExpr(), *this ) ); 346 mutateAll( impCpCtorExpr->get_tempDecls(), *this ); 347 mutateAll( impCpCtorExpr->get_returnDecls(), *this ); 348 return impCpCtorExpr; 337 349 } 338 350 … … 450 462 } 451 463 464 Initializer *Mutator::mutate( ConstructorInit *ctorInit ) { 465 ctorInit->set_ctor( maybeMutate( ctorInit->get_ctor(), *this ) ); 466 ctorInit->set_init( maybeMutate( ctorInit->get_init(), *this ) ); 467 return ctorInit; 468 } 469 452 470 Subrange *Mutator::mutate( Subrange *subrange ) { 453 471 return subrange;
Note:
See TracChangeset
for help on using the changeset viewer.