Changeset e874605 for src/Common
- Timestamp:
- Oct 28, 2022, 3:11:57 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 93d2219
- Parents:
- 77de429
- Location:
- src/Common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/CodeLocationTools.cpp
r77de429 re874605 111 111 macro(DirectiveDecl, DirectiveDecl) \ 112 112 macro(StaticAssertDecl, StaticAssertDecl) \ 113 macro(InlineValueDecl, DeclWithType) \ 113 114 macro(CompoundStmt, CompoundStmt) \ 114 115 macro(ExprStmt, Stmt) \ -
src/Common/PassVisitor.h
r77de429 re874605 81 81 virtual void visit( StaticAssertDecl * assertDecl ) override final; 82 82 virtual void visit( const StaticAssertDecl * assertDecl ) override final; 83 virtual void visit( InlineValueDecl * valueDecl ) override final; 84 virtual void visit( const InlineValueDecl * valueDecl ) override final; 83 85 84 86 virtual void visit( CompoundStmt * compoundStmt ) override final; … … 273 275 virtual DirectiveDecl * mutate( DirectiveDecl * directiveDecl ) override final; 274 276 virtual StaticAssertDecl * mutate( StaticAssertDecl * assertDecl ) override final; 277 virtual DeclarationWithType * mutate( InlineValueDecl * valueDecl ) override final; 275 278 276 279 virtual CompoundStmt * mutate( CompoundStmt * compoundStmt ) override final; -
src/Common/PassVisitor.impl.h
r77de429 re874605 1047 1047 1048 1048 //-------------------------------------------------------------------------- 1049 // InlineValueDecl 1050 template< typename pass_type > 1051 void PassVisitor< pass_type >::visit( InlineValueDecl * node ) { 1052 VISIT_START( node ); 1053 1054 maybeAccept_impl( node->type, *this ); 1055 1056 VISIT_END( node ); 1057 } 1058 1059 template< typename pass_type > 1060 void PassVisitor< pass_type >::visit( const InlineValueDecl * node ) { 1061 VISIT_START( node ); 1062 1063 maybeAccept_impl( node->type, *this ); 1064 1065 VISIT_END( node ); 1066 } 1067 1068 template< typename pass_type > 1069 DeclarationWithType * PassVisitor< pass_type >::mutate( InlineValueDecl * node ) { 1070 MUTATE_START( node ); 1071 1072 maybeMutate_impl( node->type, *this ); 1073 1074 MUTATE_END( DeclarationWithType, node ); 1075 } 1076 1077 //-------------------------------------------------------------------------- 1049 1078 // CompoundStmt 1050 1079 template< typename pass_type >
Note:
See TracChangeset
for help on using the changeset viewer.