Changeset 6668a3e for src/Concurrency
- Timestamp:
- Feb 11, 2022, 12:17:39 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 08e4e6a
- Parents:
- 1f7dc61
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Waitfor.cc
r1f7dc61 r6668a3e 373 373 new ListInit( 374 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 ); 375 return new SingleInit( expr ); 392 376 }) 393 377 )
Note: See TracChangeset
for help on using the changeset viewer.