Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.proto.hpp

    rb2a11ba rd3aa64f1  
    236236
    237237        // List of fields and their expected types
    238         FIELD_PTR( typeSubs, const ast::TypeSubstitution * )
     238        FIELD_PTR( env, const ast::TypeSubstitution * )
    239239        FIELD_PTR( stmtsToAddBefore, std::list< ast::ptr< ast::Stmt > > )
    240240        FIELD_PTR( stmtsToAddAfter , std::list< ast::ptr< ast::Stmt > > )
     
    421421
    422422        } // 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 ) {}
    436423} // namespace __pass
    437424} // namespace ast
Note: See TracChangeset for help on using the changeset viewer.