mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Teach SIL type lowering to recursively track custom vs. default deinit status. Determine whether each type recursively only has default deinitialization. This includes any recursive deinitializers that may be invoked by releasing a reference held by this type. If a type only has default deinitialization, then the deinitializer cannot have any semantically-visible side effects. It cannot write to any memory