mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This commit adds two requests, one to compute whether or not a decl should have a default initializer, and another to synthesize it. This then allows us to remove the default constructor synthesis from addImplicitConstructorsToClass as well as completely eliminate addImplicitConstructorsToStruct. For now, we can just force the requests in addImplicitConstructors.
46 KiB
46 KiB