Files
swift-mirror/lib/IRGen/StructLayout.cpp
Doug Gregor b19a325e57 [IRGen] Ensure that empty structs respect non-trivial destruction of members
An empty struct that is noncopyable can nonetheless have a `deinit`, so
it is not trivially destructible. In such cases, embedded them in
another empty struct means that the outer struct should also not be
trivially destructible. Make it so.
2024-04-01 17:27:06 -07:00

23 KiB