Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/InstantiateGenericNew.cpp

    rc36814a r01865fb  
    8585
    8686/// Maps a key and a TypeList to a valuue. Also supports scoping.
    87 class InstantiationMap final {
     87class InstantiationMap {
    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,
     420                public ast::WithConstTypeSubstitution,
     421                public ast::WithDeclsToAdd<>,
    419422                public ast::WithGuards,
    420                 public ast::WithVisitorRef<GenericInstantiator>,
    421                 public ast::WithConstTypeSubstitution,
    422                 public ast::WithDeclsToAdd<> {
     423                public ast::WithVisitorRef<GenericInstantiator>
     424{
    423425        /// Map of (generic type, parameter list) pairs
    424426        /// to concrete type instantiations.
     
    435437        /// member from an instantiation.
    436438        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.