Changeset 7f6a7c9 for src/AST/Pass.impl.hpp
- Timestamp:
- Sep 21, 2022, 11:02:15 AM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 95dab9e
- Parents:
- 428adbc (diff), 0bd46fd (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/AST/Pass.impl.hpp
r428adbc r7f6a7c9 25 25 #define VISIT_START( node ) \ 26 26 using namespace ast; \ 27 /* back-up the last known code location */ \ 28 __attribute__((unused)) auto loc_guard = ast::__pass::make_location_guard( core, node, 0 ); \ 27 29 /* back-up the visit children */ \ 28 30 __attribute__((unused)) ast::__pass::visit_children_guard guard1( ast::__pass::visit_children(core, 0) ); \ … … 1197 1199 1198 1200 //-------------------------------------------------------------------------- 1201 // QualifiedNameExpr 1202 template< typename core_t > 1203 const ast::Expr * ast::Pass< core_t >::visit( const ast::QualifiedNameExpr * node ) { 1204 VISIT_START( node ); 1205 if ( __visit_children() ) { 1206 guard_symtab guard { *this }; 1207 maybe_accept( node, &QualifiedNameExpr::var ); 1208 maybe_accept( node, &QualifiedNameExpr::type_decl ); 1209 } 1210 VISIT_END( Expr, node ); 1211 } 1212 1213 //-------------------------------------------------------------------------- 1199 1214 // CastExpr 1200 1215 template< typename core_t >
Note:
See TracChangeset
for help on using the changeset viewer.