- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/InstantiateGenericNew.cpp
r01865fb rc36814a 85 85 86 86 /// Maps a key and a TypeList to a valuue. Also supports scoping. 87 class InstantiationMap {87 class InstantiationMap final { 88 88 /// Wraps value for a specific (AggregateDecl, TypeList) combination. 89 89 using Instantiation = std::pair<TypeList, ast::ptr<ast::AggregateDecl>>; … … 417 417 418 418 struct GenericInstantiator final : 419 public ast::WithCodeLocation, 419 public ast::WithGuards, 420 public ast::WithVisitorRef<GenericInstantiator>, 420 421 public ast::WithConstTypeSubstitution, 421 public ast::WithDeclsToAdd<>, 422 public ast::WithGuards, 423 public ast::WithVisitorRef<GenericInstantiator> 424 { 422 public ast::WithDeclsToAdd<> { 425 423 /// Map of (generic type, parameter list) pairs 426 424 /// to concrete type instantiations. … … 437 435 /// member from an instantiation. 438 436 int memberIndex = -1; 437 /// Keep track of the nearest location to fill in locations. 438 CodeLocation const * location = nullptr; 439 439 440 440 GenericInstantiator() :
Note:
See TracChangeset
for help on using the changeset viewer.