Changeset afce1cf for src/Common
- Timestamp:
- Aug 28, 2017, 3:44:55 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 39c7fd0
- Parents:
- 193bba0 (diff), 26238c1 (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/Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.h
r193bba0 rafce1cf 75 75 virtual void visit( CatchStmt *catchStmt ) override final; 76 76 virtual void visit( FinallyStmt *finallyStmt ) override final; 77 virtual void visit( WaitForStmt *waitforStmt ) override final; 77 78 virtual void visit( NullStmt *nullStmt ) override final; 78 79 virtual void visit( DeclStmt *declStmt ) override final; … … 159 160 virtual Statement* mutate( ReturnStmt *returnStmt ) override final; 160 161 virtual Statement* mutate( ThrowStmt *throwStmt ) override final; 161 virtual Statement* mutate( TryStmt * returnStmt ) override final;162 virtual Statement* mutate( TryStmt *tryStmt ) override final; 162 163 virtual Statement* mutate( CatchStmt *catchStmt ) override final; 163 virtual Statement* mutate( FinallyStmt *catchStmt ) override final; 164 virtual Statement* mutate( FinallyStmt *finallyStmt ) override final; 165 virtual Statement* mutate( WaitForStmt *waitforStmt ) override final; 164 166 virtual NullStmt* mutate( NullStmt *nullStmt ) override final; 165 167 virtual Statement* mutate( DeclStmt *declStmt ) override final; -
src/Common/PassVisitor.impl.h
r193bba0 rafce1cf 541 541 } 542 542 543 //-------------------------------------------------------------------------- 544 // FinallyStmt 543 545 template< typename pass_type > 544 546 void PassVisitor< pass_type >::visit( FinallyStmt * node ) { … … 547 549 548 550 template< typename pass_type > 551 Statement * PassVisitor< pass_type >::mutate( FinallyStmt * node ) { 552 MUTATE_BODY( Statement, node ); 553 } 554 555 //-------------------------------------------------------------------------- 556 // WaitForStmt 557 template< typename pass_type > 558 void PassVisitor< pass_type >::visit( WaitForStmt * node ) { 559 VISIT_BODY( node ); 560 } 561 562 template< typename pass_type > 563 Statement * PassVisitor< pass_type >::mutate( WaitForStmt * node ) { 564 MUTATE_BODY( Statement, node ); 565 } 566 567 //-------------------------------------------------------------------------- 568 // NullStmt 569 template< typename pass_type > 549 570 void PassVisitor< pass_type >::visit( NullStmt * node ) { 550 571 VISIT_BODY( node ); … … 552 573 553 574 template< typename pass_type > 575 NullStmt * PassVisitor< pass_type >::mutate( NullStmt * node ) { 576 MUTATE_BODY( NullStmt, node ); 577 } 578 579 //-------------------------------------------------------------------------- 580 // DeclStmt 581 template< typename pass_type > 554 582 void PassVisitor< pass_type >::visit( DeclStmt * node ) { 555 583 VISIT_BODY( node ); … … 557 585 558 586 template< typename pass_type > 587 Statement * PassVisitor< pass_type >::mutate( DeclStmt * node ) { 588 MUTATE_BODY( Statement, node ); 589 } 590 591 //-------------------------------------------------------------------------- 592 // ImplicitCtorDtorStmt 593 template< typename pass_type > 559 594 void PassVisitor< pass_type >::visit( ImplicitCtorDtorStmt * node ) { 560 595 VISIT_BODY( node ); … … 562 597 563 598 template< typename pass_type > 599 Statement * PassVisitor< pass_type >::mutate( ImplicitCtorDtorStmt * node ) { 600 MUTATE_BODY( Statement, node ); 601 } 602 603 //-------------------------------------------------------------------------- 604 // ApplicationExpr 605 template< typename pass_type > 564 606 void PassVisitor< pass_type >::visit( ApplicationExpr * node ) { 565 607 VISIT_BODY( node ); 608 } 609 610 template< typename pass_type > 611 Expression * PassVisitor< pass_type >::mutate( ApplicationExpr * node ) { 612 MUTATE_BODY( Expression, node ); 566 613 } 567 614 … … 944 991 945 992 template< typename pass_type > 946 Statement * PassVisitor< pass_type >::mutate( FinallyStmt * node ) {947 MUTATE_BODY( Statement, node );948 }949 950 template< typename pass_type >951 NullStmt * PassVisitor< pass_type >::mutate( NullStmt * node ) {952 MUTATE_BODY( NullStmt, node );953 }954 955 template< typename pass_type >956 Statement * PassVisitor< pass_type >::mutate( DeclStmt * node ) {957 MUTATE_BODY( Statement, node );958 }959 960 template< typename pass_type >961 Statement * PassVisitor< pass_type >::mutate( ImplicitCtorDtorStmt * node ) {962 MUTATE_BODY( Statement, node );963 }964 965 template< typename pass_type >966 Expression * PassVisitor< pass_type >::mutate( ApplicationExpr * node ) {967 MUTATE_BODY( Expression, node );968 }969 970 template< typename pass_type >971 993 Expression * PassVisitor< pass_type >::mutate( NameExpr * node ) { 972 994 MUTATE_BODY( Expression, node );
Note: See TracChangeset
for help on using the changeset viewer.