mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Force the autolinking on Windows and Darwin as both have mechanisms to support this. ELFish targets are unfortunately not supported yet as there is no portable mechanism to do this. Remove the unnecessary handling of specific targets. Always perform the cast as it adds no overhead and will always be correct (worst case is that the type is cast to itself). This simplifies the logic. Move the forward declarations to avoid inclusion to the same location as the inclusion.
13 KiB
13 KiB