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

Function GetTemporaryName

InsightsHelpers.cpp:1219–1222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1217//-----------------------------------------------------------------------------
1218
1219std::string GetTemporaryName(const Expr& tmp)
1220{
1221 return BuildInternalVarName(MakeLineColumnName(GetGlobalAST().getSourceManager(), tmp.getEndLoc(), "temporary"sv));
1222}
1223//-----------------------------------------------------------------------------
1224
1225std::string GetName(const CXXTemporaryObjectExpr& tmp)

Callers 3

TemporaryDeclFinderMethod · 0.85
GetNameFunction · 0.85

Calls 2

BuildInternalVarNameFunction · 0.85
MakeLineColumnNameFunction · 0.85

Tested by

no test coverage detected