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

Function BuildSuspendVarName

CoroutinesCodeGenerator.cpp:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94//-----------------------------------------------------------------------------
95
96static std::string BuildSuspendVarName(const OpaqueValueExpr* stmt)
97{
98 return BuildInternalVarName(
99 MakeLineColumnName(GetGlobalAST().getSourceManager(), stmt->getSourceExpr()->getBeginLoc(), "suspend_"sv));
100}
101//-----------------------------------------------------------------------------
102
103/// \brief Find a \c SuspendsExpr's in a coroutine body statement for early transformation.

Callers 2

VisitCoawaitExprMethod · 0.85
InsertArgMethod · 0.85

Calls 2

BuildInternalVarNameFunction · 0.85
MakeLineColumnNameFunction · 0.85

Tested by

no test coverage detected