Changeset 5964127 for src/Common
- Timestamp:
- Feb 16, 2018, 4:38:50 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:
- 2b95887, 93401f8
- Parents:
- 7c782af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r7c782af r5964127 1087 1087 template< typename pass_type > 1088 1088 void PassVisitor< pass_type >::visit( NullStmt * node ) { 1089 VISIT_BODY( node ); 1089 VISIT_START( node ); 1090 VISIT_END( node ); 1090 1091 } 1091 1092 1092 1093 template< typename pass_type > 1093 1094 NullStmt * PassVisitor< pass_type >::mutate( NullStmt * node ) { 1094 MUTATE_BODY( NullStmt, node ); 1095 MUTATE_START( node ); 1096 MUTATE_END( NullStmt, node ); 1095 1097 } 1096 1098 … … 1099 1101 template< typename pass_type > 1100 1102 void PassVisitor< pass_type >::visit( DeclStmt * node ) { 1101 VISIT_BODY( node ); 1103 VISIT_START( node ); 1104 1105 maybeAccept_impl( node->decl, *this ); 1106 1107 VISIT_END( node ); 1102 1108 } 1103 1109 1104 1110 template< typename pass_type > 1105 1111 Statement * PassVisitor< pass_type >::mutate( DeclStmt * node ) { 1106 MUTATE_BODY( Statement, node ); 1112 MUTATE_START( node ); 1113 1114 maybeMutate_impl( node->decl, *this ); 1115 1116 MUTATE_END( Statement, node ); 1107 1117 } 1108 1118
Note: See TracChangeset
for help on using the changeset viewer.