Changeset 630a82a for src/SynTree/Mutator.cc
- Timestamp:
- Apr 8, 2016, 5:22:29 PM (9 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, string, with_gc
- Children:
- 3da470c
- Parents:
- 3d9b5da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r3d9b5da 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 … … 336 336 } 337 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; 343 } 344 338 345 Type *Mutator::mutate( VoidType *voidType ) { 339 346 mutateAll( voidType->get_forall(), *this );
Note: See TracChangeset
for help on using the changeset viewer.