Changeset a4477db
- Timestamp:
- Sep 27, 2017, 3:53:12 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b6d6e97
- Parents:
- 7ca84116
- Location:
- src/SymTab
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Autogen.cc
r7ca84116 ra4477db 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
r7ca84116 ra4477db 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 * genDefaultType( 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.