- Timestamp:
- Aug 6, 2018, 2:50:03 PM (6 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 58b6d1b
- Parents:
- ff593a3
- Location:
- src/Concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Keywords.cc
rff593a3 r73abe95 97 97 "__thrd", 98 98 "get_thread", 99 "thread keyword requires threads to be in scope, add #include <thread >",99 "thread keyword requires threads to be in scope, add #include <thread.hfa>", 100 100 true, 101 101 KeywordCastExpr::Thread … … 129 129 "__cor", 130 130 "get_coroutine", 131 "coroutine keyword requires coroutines to be in scope, add #include <coroutine >",131 "coroutine keyword requires coroutines to be in scope, add #include <coroutine.hfa>", 132 132 true, 133 133 KeywordCastExpr::Coroutine … … 161 161 "__mon", 162 162 "get_monitor", 163 "monitor keyword requires monitors to be in scope, add #include <monitor >",163 "monitor keyword requires monitors to be in scope, add #include <monitor.hfa>", 164 164 false, 165 165 KeywordCastExpr::Monitor … … 488 488 // Do we have the required headers 489 489 if( !monitor_decl || !guard_decl || !dtor_guard_decl ) 490 SemanticError( decl, "mutex keyword requires monitors to be in scope, add #include <monitor >\n" );490 SemanticError( decl, "mutex keyword requires monitors to be in scope, add #include <monitor.hfa>\n" ); 491 491 492 492 // Instrument the body … … 685 685 if( type && type->get_baseStruct()->is_thread() ) { 686 686 if( !thread_decl || !thread_ctor_seen ) { 687 SemanticError( type->get_baseStruct()->location, "thread keyword requires threads to be in scope, add #include <thread >");687 SemanticError( type->get_baseStruct()->location, "thread keyword requires threads to be in scope, add #include <thread.hfa>"); 688 688 } 689 689 -
src/Concurrency/Waitfor.cc
rff593a3 r73abe95 250 250 Statement * GenerateWaitForPass::postmutate( WaitForStmt * waitfor ) { 251 251 if( !decl_monitor || !decl_acceptable || !decl_mask ) 252 SemanticError( waitfor, "waitfor keyword requires monitors to be in scope, add #include <monitor >" );252 SemanticError( waitfor, "waitfor keyword requires monitors to be in scope, add #include <monitor.hfa>" ); 253 253 254 254 CompoundStmt * stmt = new CompoundStmt();
Note: See TracChangeset
for help on using the changeset viewer.