mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The code already forward declared strutcs and enums. This patch extends the logic to also forward declare classes. Unfortunately, there was some fallout because some traits ended up defined multiple times for some classes, so the code is now extended to only conditionally emit these traits if no forward declaration was emitted for the type yet. rdar://124022242
38 KiB
38 KiB