- Timestamp:
- Sep 10, 2020, 10:33:51 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 98e8b3b
- Parents:
- 1c01c58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/AST/Pass.hpp ¶
r1c01c58 rb9fa85b 118 118 119 119 // Versions of the above for older compilers. 120 template< typename... Args > 120 121 static void run( std::list< ptr<Decl> > & decls ) { 121 122 Pass<core_t> visitor; … … 123 124 } 124 125 125 static auto read( Node const * node ) { 126 template< typename node_type, typename... Args > 127 static auto read( node_type const * node ) { 126 128 Pass<core_t> visitor; 127 Node const * temp = node->accept( visitor );129 node_type const * temp = node->accept( visitor ); 128 130 assert( temp == node ); 129 131 return visitor.get_result();
Note: See TracChangeset
for help on using the changeset viewer.