We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc80dc commit b29d467Copy full SHA for b29d467
include/swift/AST/CASTBridging.h
@@ -14,6 +14,7 @@
14
#define SWIFT_C_AST_ASTBRIDGING_H
15
16
#include <inttypes.h>
17
+#include "swift/Basic/Compiler.h"
18
19
#if __clang__
20
// Provide macros to temporarily suppress warning about the use of
@@ -59,7 +60,7 @@ typedef struct {
59
60
void *_Nullable TrailingCommaLoc;
61
} BridgedTupleTypeElement;
62
-typedef enum __attribute__((enum_extensibility(open))) BridgedRequirementReprKind : long {
63
+typedef enum ENUM_EXTENSIBILITY_ATTR(open) BridgedRequirementReprKind : long {
64
/// A type bound T : P, where T is a type that depends on a generic
65
/// parameter and P is some type that should bound T, either as a concrete
66
/// supertype or a protocol to which T must conform.
0 commit comments