Changeset cf3da24 for src/Concurrency
- Timestamp:
- Oct 10, 2023, 11:42:38 AM (7 months ago)
- Branches:
- master
- Children:
- 4604bf5
- Parents:
- ee9ad40
- Location:
- src/Concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Corun.cpp
ree9ad40 rcf3da24 42 42 43 43 Stmt * postvisit( const CorunStmt * stmt ) { 44 if ( !runnerBlockDecl ) 44 if ( !runnerBlockDecl ) 45 45 SemanticError( stmt->location, "To use corun statements add #include <cofor.hfa>\n" ); 46 46 47 47 if ( !stmt->stmt ) 48 48 return nullptr; 49 49 50 50 const CodeLocation & loc = stmt->location; 51 51 const string fnName = CorunFnNamer.newName(); … … 76 76 // __CFA_corun_block_{ __CFA_corun_lambda_ }; 77 77 Stmt * threadStart = new ExprStmt( loc, 78 new UntypedExpr ( loc, 78 new UntypedExpr ( loc, 79 79 new NameExpr( loc, "?{}" ), 80 80 { -
src/Concurrency/Corun.hpp
ree9ad40 rcf3da24 16 16 #pragma once 17 17 18 19 class Declaration;20 18 namespace ast { 21 19 class TranslationUnit;
Note: See TracChangeset
for help on using the changeset viewer.