Changeset 102a58b for src/Concurrency
- Timestamp:
- May 4, 2017, 4:13:36 PM (8 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:
- 9737ffe
- Parents:
- 4845ae2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Keywords.cc
r4845ae2 r102a58b 246 246 //============================================================================================= 247 247 void ConcurrentSueKeyword::visit(StructDecl * decl) { 248 Visitor::visit(decl); 248 249 if( decl->get_name() == type_name ) { 249 250 assert( !type_decl ); … … 385 386 //============================================================================================= 386 387 void MutexKeyword::visit(FunctionDecl* decl) { 388 Visitor::visit(decl); 389 387 390 std::list<DeclarationWithType*> mutexArgs = findMutexArgs( decl ); 388 391 if( mutexArgs.empty() ) return; … … 402 405 403 406 void MutexKeyword::visit(StructDecl* decl) { 407 Visitor::visit(decl); 408 404 409 if( decl->get_name() == "monitor_desc" ) { 405 410 assert( !monitor_decl ); … … 504 509 //============================================================================================= 505 510 void ThreadStarter::visit(FunctionDecl * decl) { 511 Visitor::visit(decl); 512 506 513 if( ! InitTweak::isConstructor(decl->get_name()) ) return; 507 514
Note: See TracChangeset
for help on using the changeset viewer.