Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/InstantiateGenericNew.cpp

    r01865fb rc36814a  
    8585
    8686/// Maps a key and a TypeList to a valuue. Also supports scoping.
    87 class InstantiationMap {
     87class InstantiationMap final {
    8888        /// Wraps value for a specific (AggregateDecl, TypeList) combination.
    8989        using Instantiation = std::pair<TypeList, ast::ptr<ast::AggregateDecl>>;
     
    417417
    418418struct GenericInstantiator final :
    419                 public ast::WithCodeLocation,
     419                public ast::WithGuards,
     420                public ast::WithVisitorRef<GenericInstantiator>,
    420421                public ast::WithConstTypeSubstitution,
    421                 public ast::WithDeclsToAdd<>,
    422                 public ast::WithGuards,
    423                 public ast::WithVisitorRef<GenericInstantiator>
    424 {
     422                public ast::WithDeclsToAdd<> {
    425423        /// Map of (generic type, parameter list) pairs
    426424        /// to concrete type instantiations.
     
    437435        /// member from an instantiation.
    438436        int memberIndex = -1;
     437        /// Keep track of the nearest location to fill in locations.
     438        CodeLocation const * location = nullptr;
    439439
    440440        GenericInstantiator() :
Note: See TracChangeset for help on using the changeset viewer.