mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The determination of whether a property is memberwise-initialized is somewhat confused for properties that have synthesized backing properties. Some clients (Sema/Index) want to see the declared properties, while others (SILGen) want to see the backing stored properties. Add a flag to `VarDecl::isMemberwiseInitialized()` to capture this variation.