mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This builds on the infrastructure we have for liveness tracking, by tracking the "super.init'd" state as another faux memory object that has a liveness. Each escape/base class use requires super.init to have happened, and super.init requires super.init to NOT have happened. This gives us pretty great QoI, full fidelity to the model, and is pretty simple. This implements: <rdar://problem/15579247> We need to validate super.init() invariants in initializers Swift SVN r11073
56 KiB
56 KiB