- Timestamp:
- Aug 29, 2018, 3:23:55 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a715b5c
- Parents:
- a42a654 (diff), 546b51e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Lvalue.cc
ra42a654 rf8b69da7 353 353 Type * destType = castExpr->result; 354 354 Type * srcType = castExpr->arg->result; 355 assertf( destType, "Cast to no type in: %s", toCString( castExpr ) ); 356 assertf( srcType, "Cast from no type in: %s", toCString( castExpr ) ); 355 357 int depth1 = destType->referenceDepth(); 356 358 int depth2 = srcType->referenceDepth(); -
src/Parser/parser.yy
ra42a654 rf8b69da7 1310 1310 1311 1311 handler_clause: 1312 handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement pop1312 handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement 1313 1313 { $$ = new StatementNode( build_catch( $1, $4, $6, $8 ) ); } 1314 | handler_clause handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement pop1314 | handler_clause handler_key '(' push exception_declaration pop handler_predicate_opt ')' compound_statement 1315 1315 { $$ = (StatementNode *)$1->set_last( new StatementNode( build_catch( $2, $5, $7, $9 ) ) ); } 1316 1316 ; -
src/Virtual/ExpandCasts.cc
ra42a654 rf8b69da7 147 147 // ) 148 148 // ), 149 new UntypedExpr( new NameExpr( "__cfa__virtual_cast"), {149 new ApplicationExpr( VariableExpr::functionPointer( vcast_decl ), { 150 150 new CastExpr( 151 151 new AddressExpr( new VariableExpr( table ) ), 152 152 pointer_to_pvt(1) 153 153 ), 154 154 new CastExpr( 155 155 castExpr->get_arg(), 156 156 pointer_to_pvt(2) 157 158 157 ) 158 } ), 159 159 castExpr->get_result()->clone() 160 160 ); 161 161 162 162 castExpr->set_arg( nullptr );
Note:
See TracChangeset
for help on using the changeset viewer.