Changeset 1cdfa82 for src/Common/PassVisitor.impl.h
- Timestamp:
- Apr 25, 2018, 4:55:53 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 42107b4
- Parents:
- 2efe4b8 (diff), 9d5fb67 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r2efe4b8 r1cdfa82 685 685 686 686 //-------------------------------------------------------------------------- 687 // StaticAssertDecl 688 template< typename pass_type > 689 void PassVisitor< pass_type >::visit( StaticAssertDecl * node ) { 690 VISIT_START( node ); 691 692 maybeAccept_impl( node->condition, *this ); 693 maybeAccept_impl( node->message , *this ); 694 695 VISIT_END( node ); 696 } 697 698 template< typename pass_type > 699 StaticAssertDecl * PassVisitor< pass_type >::mutate( StaticAssertDecl * node ) { 700 MUTATE_START( node ); 701 702 maybeMutate_impl( node->condition, *this ); 703 maybeMutate_impl( node->message , *this ); 704 705 MUTATE_END( StaticAssertDecl, node ); 706 } 707 708 //-------------------------------------------------------------------------- 687 709 // CompoundStmt 688 710 template< typename pass_type > … … 1238 1260 1239 1261 //-------------------------------------------------------------------------- 1262 // KeywordCastExpr 1263 template< typename pass_type > 1264 void PassVisitor< pass_type >::visit( KeywordCastExpr * node ) { 1265 VISIT_START( node ); 1266 1267 indexerScopedAccept( node->result, *this ); 1268 maybeAccept_impl ( node->arg , *this ); 1269 1270 VISIT_END( node ); 1271 } 1272 1273 template< typename pass_type > 1274 Expression * PassVisitor< pass_type >::mutate( KeywordCastExpr * node ) { 1275 MUTATE_START( node ); 1276 1277 indexerScopedMutate( node->env , *this ); 1278 indexerScopedMutate( node->result, *this ); 1279 maybeMutate_impl ( node->arg , *this ); 1280 1281 MUTATE_END( Expression, node ); 1282 } 1283 1284 //-------------------------------------------------------------------------- 1240 1285 // VirtualCastExpr 1241 1286 template< typename pass_type > … … 1491 1536 indexerScopedAccept( node->result, *this ); 1492 1537 maybeAccept_impl ( node->type , *this ); 1493 maybeAccept_impl ( node->member, *this );1494 1538 1495 1539 VISIT_END( node ); … … 1503 1547 indexerScopedMutate( node->result, *this ); 1504 1548 maybeMutate_impl ( node->type , *this ); 1505 maybeMutate_impl ( node->member, *this );1506 1549 1507 1550 MUTATE_END( Expression, node );
Note: See TracChangeset
for help on using the changeset viewer.