Commit Graph
6 Commits
Author SHA1 Message Date
Karoy Lorentey 31d3abcc22 Reindent TrailingElementsModule 2025-09-26 22:38:16 -07:00
Karoy Lorentey 346934794a Add package-wide source file header to TrailingElementsModule components 2025-09-26 18:53:13 -07:00
Doug Gregor 43367db377 [TrailingArray] Handle trailing arrays where the element has greater alignment than the header
When this happens, we over-allocate and use the alignment of the
elements, and then move the start of the header after the point of
allocation such that the properly-aligned elements follow it
immediately.
2025-09-12 11:23:07 -07:00
Doug Gregor aa36f635ad Rename PaddedStorage to TrailingPadding 2025-09-08 18:59:45 -07:00
Doug Gregor e08ba6087d [TrailingElementsModule] Rename "takePointer" to "leakStorage", which is more descriptive 2025-09-08 18:56:51 -07:00
Doug Gregor b6208a9836 Rename IntrusiveManagedBuffer to TrailingArray 2025-09-08 18:54:48 -07:00