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

Function GetAnonymStructOrUnionName

InsightsHelpers.cpp:283–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281//-----------------------------------------------------------------------------
282
283static std::string GetAnonymStructOrUnionName(const CXXRecordDecl& cxxRecordDecl)
284{
285 static constexpr auto prefix{"__anon_"sv};
286 return MakeLineColumnName(cxxRecordDecl, prefix);
287}
288//-----------------------------------------------------------------------------
289
290std::string BuildRetTypeName(const Decl& decl)

Callers 2

HandleTypeMethod · 0.85
GetNameFunction · 0.85

Calls 1

MakeLineColumnNameFunction · 0.85

Tested by

no test coverage detected