Changeset dd33c1f for src/Validate
- Timestamp:
- Jul 26, 2022, 2:17:49 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 1b97cc87
- Parents:
- 4c48be0 (diff), 3992098 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/Validate/Autogen.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/Autogen.cpp
r4c48be0 rdd33c1f 370 370 ast::ObjectDecl * FuncGenerator::dstParam() const { 371 371 return new ast::ObjectDecl( getLocation(), "_dst", 372 new ast::ReferenceType( ast::deepCopy( type ) ), 373 nullptr, {}, ast::Linkage::Cforall ); 372 new ast::ReferenceType( ast::deepCopy( type ) ) ); 374 373 } 375 374 376 375 ast::ObjectDecl * FuncGenerator::srcParam() const { 377 376 return new ast::ObjectDecl( getLocation(), "_src", 378 ast::deepCopy( type ), 379 nullptr, {}, ast::Linkage::Cforall ); 377 ast::deepCopy( type ) ); 380 378 } 381 379 … … 429 427 ast::ObjectDecl * param = new ast::ObjectDecl( 430 428 getLocation(), member->name, paramType ); 431 param->linkage = ast::Linkage::Cforall;432 429 for ( auto & attr : member->attributes ) { 433 430 if ( attr->isValidOnFuncParam() ) {
Note:
See TracChangeset
for help on using the changeset viewer.