MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / structTypeName

Function structTypeName

src/format.cpp:141–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139// ── Struct type name (for width calculation) ──
140
141QString structTypeName(const Node& node) {
142 // Full type string: "struct TypeName" or just "struct" if no typename
143 QString base = typeName(node.kind).trimmed(); // "struct"
144 if (!node.structTypeName.isEmpty())
145 return base + QStringLiteral(" ") + node.structTypeName;
146 return base;
147}
148
149// ── Struct header / footer ──
150

Callers 2

composeFunction · 0.85
fmtStructHeaderFunction · 0.85

Calls 1

typeNameFunction · 0.85

Tested by

no test coverage detected