Changeset fc638d2 for src/GenPoly/CopyParams.cc
- Timestamp:
- Dec 13, 2016, 4:13:08 PM (8 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:
- 7933351
- Parents:
- f7e749f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/CopyParams.cc
rf7e749f rfc638d2 38 38 }; 39 39 40 /// creates local copies of polymorphic function parameters 40 41 void copyParams( std::list< Declaration* > &translationUnit ) { 41 42 CopyParams copier; … … 53 54 if ( ! modVars.empty() ) { 54 55 std::map< std::string, DeclarationWithType* > assignOps; 56 // xxx - this needs to use constructors, not assignment operators 55 57 // assume the assignment operator is the first assert param after any "type" parameter 56 58 for ( Type::ForallList::const_iterator tyVar = funcDecl->get_functionType()->get_forall().begin(); tyVar != funcDecl->get_functionType()->get_forall().end(); ++tyVar ) {
Note: See TracChangeset
for help on using the changeset viewer.