Changeset 0db48ca for src/Concurrency
- Timestamp:
- Feb 12, 2022, 1:56:44 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 0ebbca4
- Parents:
- 4708eaa (diff), eb211bf (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/Concurrency/Waitfor.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Waitfor.cc
r4708eaa r0db48ca 372 372 ), 373 373 new ListInit( 374 map_range < std::list<Initializer*> > ( clause.target.arguments, [this](Expression * expr ){ 375 Expression * init = new CastExpr( 376 new UntypedExpr( 377 new NameExpr( "get_monitor" ), 378 { expr } 379 ), 380 new PointerType( 381 noQualifiers, 382 new StructInstType( 383 noQualifiers, 384 decl_monitor 385 ) 386 ), 387 false 388 ); 389 390 ResolvExpr::findSingleExpression( init, indexer ); 391 return new SingleInit( init ); 374 map_range < std::list<Initializer*> > ( clause.target.arguments, [](Expression * expr ){ 375 return new SingleInit( expr ); 392 376 }) 393 377 )
Note:
See TracChangeset
for help on using the changeset viewer.