Changeset 47534159 for src/SynTree/Mutator.cc
- Timestamp:
- Dec 4, 2015, 2:55:22 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:
- 000b914, 63db3d76
- Parents:
- f8b961b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
rf8b961b r47534159 251 251 } 252 252 253 Expression *Mutator::mutate( AlignofExpr *alignofExpr ) { 254 mutateAll( alignofExpr->get_results(), *this ); 255 if ( alignofExpr->get_isType() ) { 256 alignofExpr->set_type( maybeMutate( alignofExpr->get_type(), *this ) ); 257 } else { 258 alignofExpr->set_expr( maybeMutate( alignofExpr->get_expr(), *this ) ); 259 } 260 return alignofExpr; 261 } 262 253 263 Expression *Mutator::mutate( AttrExpr *attrExpr ) { 254 264 mutateAll( attrExpr->get_results(), *this );
Note: See TracChangeset
for help on using the changeset viewer.