Changes in src/AST/Pass.proto.hpp [b2a11ba:d3aa64f1]
- File:
-
- 1 edited
-
src/AST/Pass.proto.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.proto.hpp
rb2a11ba rd3aa64f1 236 236 237 237 // List of fields and their expected types 238 FIELD_PTR( typeSubs, const ast::TypeSubstitution * )238 FIELD_PTR( env, const ast::TypeSubstitution * ) 239 239 FIELD_PTR( stmtsToAddBefore, std::list< ast::ptr< ast::Stmt > > ) 240 240 FIELD_PTR( stmtsToAddAfter , std::list< ast::ptr< ast::Stmt > > ) … … 421 421 422 422 } // namespace forall 423 424 template<typename core_t>425 static inline auto get_result( core_t & core, char ) -> decltype( core.result() ) {426 return core.result();427 }428 429 template<typename core_t>430 static inline auto get_result( core_t & core, int ) -> decltype( core.result ) {431 return core.result;432 }433 434 template<typename core_t>435 static inline void get_result( core_t &, long ) {}436 423 } // namespace __pass 437 424 } // namespace ast
Note:
See TracChangeset
for help on using the changeset viewer.