mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Start printing `#include` for headers referenced from `@cdecl` function signatures. This adds on top of the existing tiered imports. We already print each module referenced from decls printed in the compatibility header. Previously we printed mostly `@import` with an option to fallback on a `#import`. This change adds a third fallback to `#include` when the module is referenced from a `@cdecl` function signature. The bridging header can also be imported in a similar way.
27 KiB
27 KiB