Changeset 8404321
- Timestamp:
- Sep 27, 2017, 4:25:19 PM (5 years ago)
- Branches:
- aaron-thesis, arm-eh, 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:
- 4e66a18
- Parents:
- 75626a1
- git-author:
- Rob Schluntz <rschlunt@…> (09/27/17 15:53:12)
- git-committer:
- Rob Schluntz <rschlunt@…> (09/27/17 16:25:19)
- Location:
- src/SymTab
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Autogen.cc
r75626a1 r8404321 119 119 ObjectDecl *dstParam = new ObjectDecl( "_dst", Type::StorageClasses(), LinkageSpec::Cforall, nullptr, new ReferenceType( Type::Qualifiers(), paramType->clone() ), nullptr ); 120 120 ftype->get_parameters().push_back( dstParam ); 121 122 121 return ftype; 123 122 } -
src/SymTab/Autogen.h
r75626a1 r8404321 44 44 extern FunctionDecl * dereferenceOperator; 45 45 46 // temporary46 // generate the type of an assignment function for paramType 47 47 FunctionType * genAssignType( Type * paramType ); 48 49 // generate the type of a default constructor or destructor for paramType 50 FunctionType * genDefaultType( Type * paramType ); 51 52 // generate the type of a copy constructor for paramType 53 FunctionType * genCopyType( Type * paramType ); 48 54 49 55 /// inserts into out a generated call expression to function fname with arguments dstParam and srcParam. Intended to be used with generated ?=?, ?{}, and ^?{} calls.
Note: See TracChangeset
for help on using the changeset viewer.