- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/InstantiateGenericNew.cpp
rc36814a r01865fb 85 85 86 86 /// Maps a key and a TypeList to a valuue. Also supports scoping. 87 class InstantiationMap final{87 class InstantiationMap { 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, 420 public ast::WithConstTypeSubstitution, 421 public ast::WithDeclsToAdd<>, 419 422 public ast::WithGuards, 420 public ast::WithVisitorRef<GenericInstantiator>, 421 public ast::WithConstTypeSubstitution, 422 public ast::WithDeclsToAdd<> { 423 public ast::WithVisitorRef<GenericInstantiator> 424 { 423 425 /// Map of (generic type, parameter list) pairs 424 426 /// to concrete type instantiations. … … 435 437 /// member from an instantiation. 436 438 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.