| 79 | //----------------------------------------------------------------------------- |
| 80 | |
| 81 | static auto* CreateCoroFunctionDecl(std::string funcName, QualType type) |
| 82 | { |
| 83 | params_vector params{{CORO_FRAME_NAME, type}}; |
| 84 | const std::string coroFsmName{BuildInternalVarName(funcName)}; |
| 85 | |
| 86 | return Function(coroFsmName, VoidTy(), params); |
| 87 | } |
| 88 | //----------------------------------------------------------------------------- |
| 89 | |
| 90 | static void SetFunctionBody(FunctionDecl* fd, StmtsContainer& bodyStmts) |
no test coverage detected