Ignore:
File:
1 edited

Legend:

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

    r3e5dd913 r361bf01  
    413413                static inline auto leave( core_t &, long, const ast::FunctionType * ) {}
    414414
     415                // Get the substitution table, if present
     416                template<typename core_t>
     417                static inline auto subs( core_t & core, int ) -> decltype( &core.subs ) {
     418                        return &core.subs;
     419                }
     420
     421                template<typename core_t>
     422                static inline ast::ForallSubstitutionTable * subs( core_t &, long ) { return nullptr; }
     423
    415424                // Replaces a TypeInstType's base TypeDecl according to the table
    416425                template<typename core_t>
Note: See TracChangeset for help on using the changeset viewer.