Changeset 9b18044
- Timestamp:
- Sep 1, 2017, 2:37:35 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 2bf9c37
- Parents:
- 7d9ad510
- Location:
- src/GenPoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Box.cc
r7d9ad510 r9b18044 141 141 virtual StructDecl *mutate( StructDecl *structDecl ) override; 142 142 virtual UnionDecl *mutate( UnionDecl *unionDecl ) override; 143 virtual TraitDecl *mutate( TraitDecl *unionDecl ) override; 143 144 virtual TypeDecl *mutate( TypeDecl *typeDecl ) override; 144 145 virtual TypedefDecl *mutate( TypedefDecl *typedefDecl ) override; … … 216 217 private: 217 218 }; 218 219 219 } // anonymous namespace 220 220 … … 1351 1351 } 1352 1352 1353 TraitDecl * Pass2::mutate( TraitDecl *aggDecl ) { 1354 return handleAggDecl( aggDecl ); 1355 } 1356 1353 1357 TypeDecl * Pass2::mutate( TypeDecl *typeDecl ) { 1354 1358 addToTyVarMap( typeDecl, scopeTyVars ); … … 1376 1380 Type *Pass2::mutate( FunctionType *funcType ) { 1377 1381 scopeTyVars.beginScope(); 1382 1378 1383 makeTyVarMap( funcType, scopeTyVars ); 1379 1384 -
src/GenPoly/GenPoly.cc
r7d9ad510 r9b18044 433 433 434 434 void addToTyVarMap( TypeDecl * tyVar, TyVarMap &tyVarMap ) { 435 // xxx - should this actually be insert? 435 436 tyVarMap[ tyVar->get_name() ] = TypeDecl::Data{ tyVar }; 436 437 }
Note: See TracChangeset
for help on using the changeset viewer.