Changeset df6cc9d for src/AST/Pass.hpp
- Timestamp:
- Oct 19, 2022, 4:43:26 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 1a45263
- Parents:
- 9cd5bd2 (diff), 135143ba (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.hpp
r9cd5bd2 rdf6cc9d 167 167 const ast::Expr * visit( const ast::UntypedExpr * ) override final; 168 168 const ast::Expr * visit( const ast::NameExpr * ) override final; 169 const ast::Expr * 169 const ast::Expr * visit( const ast::QualifiedNameExpr * ) override final; 170 170 const ast::Expr * visit( const ast::AddressExpr * ) override final; 171 171 const ast::Expr * visit( const ast::LabelAddressExpr * ) override final; … … 395 395 at_cleanup( [func](void *) { func(); }, nullptr ); 396 396 } 397 398 /// When this node is finished being visited, call a member of an object.399 template<typename T>400 void GuardMethod( T * obj, void (T::*method)() ) {401 at_cleanup( [ method ]( void * object ) {402 static_cast< T * >( object )->method();403 }, static_cast< void * >( obj ) );404 }405 397 }; 406 398
Note:
See TracChangeset
for help on using the changeset viewer.