mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This fixes sudden compiler errors that are emitted when trying to use CoreText.framework with C++ interop enabled. When Swift is trying to rebuild a dependency module from its textual interface, it should not complain on usages of C enums in public Swift APIs. This still leaves the resilience safety guardrail enabled for C++ scoped enums. rdar://143215914
12 lines
125 B
C
12 lines
125 B
C
struct MyCStruct {
|
|
int x;
|
|
};
|
|
|
|
enum MyCEnum {
|
|
MCE_One, MCE_Two
|
|
};
|
|
|
|
enum MyCFixedEnum : unsigned {
|
|
MCFE_One, MCFE_Two
|
|
};
|