|
141 | 141 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 150000) || \
|
142 | 142 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 180000) || \
|
143 | 143 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 180000) || \
|
144 |
| - (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 110000) |
| 144 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 110000) || \ |
| 145 | + (defined(__ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__ < 90000) || \ |
| 146 | + (defined(__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__ < 240000) |
145 | 147 | # define _LIBCPP_INTRODUCED_IN_LLVM_18 0
|
146 | 148 | # else
|
147 | 149 | # define _LIBCPP_INTRODUCED_IN_LLVM_18 1
|
|
150 | 152 | __attribute__((availability(macos, strict, introduced = 15.0))) \
|
151 | 153 | __attribute__((availability(ios, strict, introduced = 18.0))) \
|
152 | 154 | __attribute__((availability(tvos, strict, introduced = 18.0))) \
|
153 |
| - __attribute__((availability(watchos, strict, introduced = 11.0))) |
| 155 | + __attribute__((availability(watchos, strict, introduced = 11.0))) \ |
| 156 | + __attribute__((availability(bridgeos, strict, introduced = 9.0))) \ |
| 157 | + __attribute__((availability(driverkit, strict, introduced = 24.0))) |
154 | 158 |
|
155 | 159 | // LLVM 17
|
156 | 160 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 140400) || \
|
157 | 161 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 170400) || \
|
158 | 162 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 170400) || \
|
159 |
| - (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 100400) |
| 163 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 100400) || \ |
| 164 | + (defined(__ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__ < 80400) || \ |
| 165 | + (defined(__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__ < 230400) |
160 | 166 | # define _LIBCPP_INTRODUCED_IN_LLVM_17 0
|
161 | 167 | # else
|
162 | 168 | # define _LIBCPP_INTRODUCED_IN_LLVM_17 1
|
|
165 | 171 | __attribute__((availability(macos, strict, introduced = 14.4))) \
|
166 | 172 | __attribute__((availability(ios, strict, introduced = 17.4))) \
|
167 | 173 | __attribute__((availability(tvos, strict, introduced = 17.4))) \
|
168 |
| - __attribute__((availability(watchos, strict, introduced = 10.4))) |
| 174 | + __attribute__((availability(watchos, strict, introduced = 10.4))) \ |
| 175 | + __attribute__((availability(bridgeos, strict, introduced = 8.4))) \ |
| 176 | + __attribute__((availability(driverkit, strict, introduced = 23.4))) |
169 | 177 |
|
170 | 178 | // LLVM 16
|
171 | 179 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 140000) || \
|
172 | 180 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 170000) || \
|
173 | 181 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 170000) || \
|
174 |
| - (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 100000) |
| 182 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 100000) || \ |
| 183 | + (defined(__ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__ < 80000) || \ |
| 184 | + (defined(__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__ < 230000) |
175 | 185 | # define _LIBCPP_INTRODUCED_IN_LLVM_16 0
|
176 | 186 | # else
|
177 | 187 | # define _LIBCPP_INTRODUCED_IN_LLVM_16 1
|
|
180 | 190 | __attribute__((availability(macos, strict, introduced = 14.0))) \
|
181 | 191 | __attribute__((availability(ios, strict, introduced = 17.0))) \
|
182 | 192 | __attribute__((availability(tvos, strict, introduced = 17.0))) \
|
183 |
| - __attribute__((availability(watchos, strict, introduced = 10.0))) |
| 193 | + __attribute__((availability(watchos, strict, introduced = 10.0))) \ |
| 194 | + __attribute__((availability(bridgeos, strict, introduced = 8.0))) \ |
| 195 | + __attribute__((availability(driverkit, strict, introduced = 23.0))) |
184 | 196 |
|
185 | 197 | // LLVM 15
|
186 | 198 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 130400) || \
|
187 | 199 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 160500) || \
|
188 | 200 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 160500) || \
|
189 |
| - (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 90500) |
| 201 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 90500) || \ |
| 202 | + (defined(__ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__ < 70500) || \ |
| 203 | + (defined(__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__ < 220400) |
190 | 204 | # define _LIBCPP_INTRODUCED_IN_LLVM_15 0
|
191 | 205 | # else
|
192 | 206 | # define _LIBCPP_INTRODUCED_IN_LLVM_15 1
|
|
195 | 209 | __attribute__((availability(macos, strict, introduced = 13.4))) \
|
196 | 210 | __attribute__((availability(ios, strict, introduced = 16.5))) \
|
197 | 211 | __attribute__((availability(tvos, strict, introduced = 16.5))) \
|
198 |
| - __attribute__((availability(watchos, strict, introduced = 9.5))) |
| 212 | + __attribute__((availability(watchos, strict, introduced = 9.5))) \ |
| 213 | + __attribute__((availability(bridgeos, strict, introduced = 7.5))) \ |
| 214 | + __attribute__((availability(driverkit, strict, introduced = 22.4))) |
199 | 215 |
|
200 | 216 | // LLVM 14
|
201 | 217 | # define _LIBCPP_INTRODUCED_IN_LLVM_14 _LIBCPP_INTRODUCED_IN_LLVM_15
|
|
205 | 221 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 130000) || \
|
206 | 222 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 160000) || \
|
207 | 223 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 160000) || \
|
208 |
| - (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 90000) |
| 224 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 90000) || \ |
| 225 | + (defined(__ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__ < 70000) || \ |
| 226 | + (defined(__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__ < 220000) |
209 | 227 | # define _LIBCPP_INTRODUCED_IN_LLVM_13 0
|
210 | 228 | # else
|
211 | 229 | # define _LIBCPP_INTRODUCED_IN_LLVM_13 1
|
|
214 | 232 | __attribute__((availability(macos, strict, introduced = 13.0))) \
|
215 | 233 | __attribute__((availability(ios, strict, introduced = 16.0))) \
|
216 | 234 | __attribute__((availability(tvos, strict, introduced = 16.0))) \
|
217 |
| - __attribute__((availability(watchos, strict, introduced = 9.0))) |
| 235 | + __attribute__((availability(watchos, strict, introduced = 9.0))) \ |
| 236 | + __attribute__((availability(bridgeos, strict, introduced = 7.0))) \ |
| 237 | + __attribute__((availability(driverkit, strict, introduced = 22.0))) |
218 | 238 |
|
219 | 239 | // LLVM 12
|
220 | 240 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 120300) || \
|
221 | 241 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 150300) || \
|
222 | 242 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 150300) || \
|
223 |
| - (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 80300) |
| 243 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 80300) || \ |
| 244 | + (defined(__ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_BRIDGE_OS_VERSION_MIN_REQUIRED__ < 60000) || \ |
| 245 | + (defined(__ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_DRIVERKIT_VERSION_MIN_REQUIRED__ < 210300) |
224 | 246 | # define _LIBCPP_INTRODUCED_IN_LLVM_12 0
|
225 | 247 | # else
|
226 | 248 | # define _LIBCPP_INTRODUCED_IN_LLVM_12 1
|
|
229 | 251 | __attribute__((availability(macos, strict, introduced = 12.3))) \
|
230 | 252 | __attribute__((availability(ios, strict, introduced = 15.3))) \
|
231 | 253 | __attribute__((availability(tvos, strict, introduced = 15.3))) \
|
232 |
| - __attribute__((availability(watchos, strict, introduced = 8.3))) |
| 254 | + __attribute__((availability(watchos, strict, introduced = 8.3))) \ |
| 255 | + __attribute__((availability(bridgeos, strict, introduced = 6.0))) \ |
| 256 | + __attribute__((availability(driverkit, strict, introduced = 21.3))) |
233 | 257 |
|
234 | 258 | // LLVM 11
|
235 | 259 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 110000) || \
|
|
0 commit comments