Changes in src/Tuples/Explode.cc [c408483:b8524ca]
- File:
-
- 1 edited
-
src/Tuples/Explode.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Tuples/Explode.cc
rc408483 rb8524ca 129 129 for ( const ast::Expr * expr : tupleExpr->exprs ) { 130 130 exprs.emplace_back( applyCast( expr, false ) ); 131 //exprs.emplace_back( ast::ptr< ast::Expr >( applyCast( expr, false ) ) ); 131 132 } 132 133 if ( first ) { … … 147 148 } 148 149 149 const ast::Expr * post visit( const ast::UniqueExpr * node ) {150 const ast::Expr * postmutate( const ast::UniqueExpr * node ) { 150 151 // move cast into unique expr so that the unique expr has type T& rather than 151 152 // type T. In particular, this transformation helps with generating the … … 166 167 } 167 168 168 const ast::Expr * post visit( const ast::TupleIndexExpr * tupleExpr ) {169 const ast::Expr * postmutate( const ast::TupleIndexExpr * tupleExpr ) { 169 170 // tuple index expr needs to be rebuilt to ensure that the type of the 170 171 // field is consistent with the type of the tuple expr, since the field
Note:
See TracChangeset
for help on using the changeset viewer.