MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / SetFunctionBody

Function SetFunctionBody

CoroutinesCodeGenerator.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88//-----------------------------------------------------------------------------
89
90static void SetFunctionBody(FunctionDecl* fd, StmtsContainer& bodyStmts)
91{
92 fd->setBody(mkCompoundStmt(bodyStmts));
93}
94//-----------------------------------------------------------------------------
95
96static std::string BuildSuspendVarName(const OpaqueValueExpr* stmt)

Callers 1

InsertCoroutineMethod · 0.85

Calls 1

mkCompoundStmtFunction · 0.85

Tested by

no test coverage detected