|
1 | | -// Generated by Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1) |
| 1 | +// Generated by Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42) |
2 | 2 | #pragma clang diagnostic push |
3 | 3 |
|
4 | 4 | #if defined(__has_include) && __has_include(<swift/objc-prologue.h>) |
@@ -68,6 +68,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); |
68 | 68 | #else |
69 | 69 | # define SWIFT_NOESCAPE |
70 | 70 | #endif |
| 71 | +#if defined(__has_attribute) && __has_attribute(warn_unused_result) |
| 72 | +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) |
| 73 | +#else |
| 74 | +# define SWIFT_WARN_UNUSED_RESULT |
| 75 | +#endif |
71 | 76 | #if !defined(SWIFT_CLASS_EXTRA) |
72 | 77 | # define SWIFT_CLASS_EXTRA |
73 | 78 | #endif |
@@ -114,6 +119,18 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); |
114 | 119 | #if !defined(SWIFT_UNAVAILABLE) |
115 | 120 | # define SWIFT_UNAVAILABLE __attribute__((unavailable)) |
116 | 121 | #endif |
| 122 | +#if !defined(SWIFT_UNAVAILABLE_MSG) |
| 123 | +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) |
| 124 | +#endif |
| 125 | +#if !defined(SWIFT_AVAILABILITY) |
| 126 | +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) |
| 127 | +#endif |
| 128 | +#if !defined(SWIFT_DEPRECATED) |
| 129 | +# define SWIFT_DEPRECATED __attribute__((deprecated)) |
| 130 | +#endif |
| 131 | +#if !defined(SWIFT_DEPRECATED_MSG) |
| 132 | +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) |
| 133 | +#endif |
117 | 134 | #if defined(__has_feature) && __has_feature(modules) |
118 | 135 | #endif |
119 | 136 |
|
|
0 commit comments