Changes in src/SynTree/Mutator.cc [2a4b088:47534159]
- File:
-
- 1 edited
-
src/SynTree/Mutator.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Mutator.cc
r2a4b088 r47534159 22 22 #include "Expression.h" 23 23 #include "Constant.h" 24 #include " Common/utility.h"24 #include "utility.h" 25 25 26 26 Mutator::Mutator() {} … … 259 259 } 260 260 return alignofExpr; 261 }262 263 Expression *Mutator::mutate( UntypedOffsetofExpr *offsetofExpr ) {264 mutateAll( offsetofExpr->get_results(), *this );265 offsetofExpr->set_type( maybeMutate( offsetofExpr->get_type(), *this ) );266 return offsetofExpr;267 }268 269 Expression *Mutator::mutate( OffsetofExpr *offsetofExpr ) {270 mutateAll( offsetofExpr->get_results(), *this );271 offsetofExpr->set_type( maybeMutate( offsetofExpr->get_type(), *this ) );272 offsetofExpr->set_member( maybeMutate( offsetofExpr->get_member(), *this ) );273 return offsetofExpr;274 261 } 275 262
Note:
See TracChangeset
for help on using the changeset viewer.