Changeset 349b2cb for src/Concurrency/Keywords.cc
- Timestamp:
- Mar 22, 2017, 11:28:47 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 9c14ae9
- Parents:
- 597db97 (diff), a53e10a (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
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Keywords.cc
r597db97 r349b2cb 331 331 ), 332 332 new ListInit( 333 map_range < std::list<Initializer*> > ( args, [](DeclarationWithType * var ){ 333 map_range < std::list<Initializer*> > ( args, [this](DeclarationWithType * var ){ 334 Type * type = var->get_type()->clone(); 335 type->set_mutex( false ); 334 336 return new SingleInit( new UntypedExpr( 335 337 new NameExpr( "get_monitor" ), 336 { new VariableExpr( var) }338 { new CastExpr( new VariableExpr( var ), type ) } 337 339 ) ); 338 340 })
Note: See TracChangeset
for help on using the changeset viewer.