Changes in src/SynTree/Mutator.h [7f5566b:47534159]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.h
r7f5566b r47534159 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jul 23 23:24:18201513 // Update Count : 712 // Last Modified On : Thu Nov 19 22:26:16 2015 13 // Update Count : 8 14 14 // 15 15 #include <cassert> … … 64 64 virtual Expression* mutate( ConstantExpr *constantExpr ); 65 65 virtual Expression* mutate( SizeofExpr *sizeofExpr ); 66 virtual Expression* mutate( AlignofExpr *alignofExpr ); 66 67 virtual Expression* mutate( AttrExpr *attrExpr ); 67 68 virtual Expression* mutate( LogicalExpr *logicalExpr ); … … 103 104 inline TreeType *maybeMutate( TreeType *tree, MutatorType &mutator ) { 104 105 if ( tree ) { 105 TreeType *newnode = dynamic_cast< TreeType * >( tree->acceptMutator( mutator ) );106 TreeType *newnode = dynamic_cast< TreeType * >( tree->acceptMutator( mutator ) ); 106 107 assert( newnode ); 107 108 return newnode;
Note:
See TracChangeset
for help on using the changeset viewer.