Changes in src/Validate/Autogen.cpp [e8616b6:91715ce1]
- File:
-
- 1 edited
-
src/Validate/Autogen.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/Autogen.cpp
re8616b6 r91715ce1 370 370 ast::ObjectDecl * FuncGenerator::dstParam() const { 371 371 return new ast::ObjectDecl( getLocation(), "_dst", 372 new ast::ReferenceType( ast::deepCopy( type ) ) ); 372 new ast::ReferenceType( ast::deepCopy( type ) ), 373 nullptr, {}, ast::Linkage::Cforall ); 373 374 } 374 375 375 376 ast::ObjectDecl * FuncGenerator::srcParam() const { 376 377 return new ast::ObjectDecl( getLocation(), "_src", 377 ast::deepCopy( type ) ); 378 ast::deepCopy( type ), 379 nullptr, {}, ast::Linkage::Cforall ); 378 380 } 379 381 … … 427 429 ast::ObjectDecl * param = new ast::ObjectDecl( 428 430 getLocation(), member->name, paramType ); 431 param->linkage = ast::Linkage::Cforall; 429 432 for ( auto & attr : member->attributes ) { 430 433 if ( attr->isValidOnFuncParam() ) {
Note:
See TracChangeset
for help on using the changeset viewer.