Changeset 8a5530c for src/AST/Pass.hpp
- Timestamp:
- May 16, 2019, 10:58:52 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f2e482cb
- Parents:
- 89c2f7c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.hpp
r89c2f7c9 r8a5530c 29 29 #include "AST/Init.hpp" 30 30 #include "AST/Stmt.hpp" 31 #include "AST/Type.hpp" 31 32 32 33 #include "AST/Visitor.hpp" … … 189 190 190 191 template< typename node_t > 191 auto call_accept( const node_t * node ) -> decltype( node->accept(*this) ); 192 auto call_accept( const node_t * node ) -> typename std::enable_if< 193 !std::is_base_of<ast::Expr, node_t>::value && 194 !std::is_base_of<ast::Stmt, node_t>::value 195 , decltype( node->accept(*this) ) 196 >::type; 192 197 193 198 template< template <class...> class container_t >
Note: See TracChangeset
for help on using the changeset viewer.