|
138 | 138 | # define _LIBCPP_INTRODUCED_IN_LLVM_19_ATTRIBUTE __attribute__((unavailable)) |
139 | 139 |
|
140 | 140 | // LLVM 18 |
141 | | -# if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 150000) || \ |
142 | | - (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 180000) || \ |
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) || \ |
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) |
147 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_18 0 |
148 | | -# else |
149 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_18 1 |
150 | | -# endif |
151 | | -# define _LIBCPP_INTRODUCED_IN_LLVM_18_ATTRIBUTE \ |
152 | | - __attribute__((availability(macos, strict, introduced = 15.0))) \ |
153 | | - __attribute__((availability(ios, strict, introduced = 18.0))) \ |
154 | | - __attribute__((availability(tvos, strict, introduced = 18.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))) |
| 141 | +// TODO: Fill this in |
| 142 | +# define _LIBCPP_INTRODUCED_IN_LLVM_18 0 |
| 143 | +# define _LIBCPP_INTRODUCED_IN_LLVM_18_ATTRIBUTE __attribute__((unavailable)) |
158 | 144 |
|
159 | 145 | // LLVM 17 |
160 | 146 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 140400) || \ |
161 | 147 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 170400) || \ |
162 | 148 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 170400) || \ |
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) |
| 149 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 100400) |
166 | 150 | # define _LIBCPP_INTRODUCED_IN_LLVM_17 0 |
167 | 151 | # else |
168 | 152 | # define _LIBCPP_INTRODUCED_IN_LLVM_17 1 |
|
171 | 155 | __attribute__((availability(macos, strict, introduced = 14.4))) \ |
172 | 156 | __attribute__((availability(ios, strict, introduced = 17.4))) \ |
173 | 157 | __attribute__((availability(tvos, strict, introduced = 17.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))) |
| 158 | + __attribute__((availability(watchos, strict, introduced = 10.4))) |
177 | 159 |
|
178 | 160 | // LLVM 16 |
179 | 161 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 140000) || \ |
180 | 162 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 170000) || \ |
181 | 163 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 170000) || \ |
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) |
| 164 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 100000) |
185 | 165 | # define _LIBCPP_INTRODUCED_IN_LLVM_16 0 |
186 | 166 | # else |
187 | 167 | # define _LIBCPP_INTRODUCED_IN_LLVM_16 1 |
|
190 | 170 | __attribute__((availability(macos, strict, introduced = 14.0))) \ |
191 | 171 | __attribute__((availability(ios, strict, introduced = 17.0))) \ |
192 | 172 | __attribute__((availability(tvos, strict, introduced = 17.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))) |
| 173 | + __attribute__((availability(watchos, strict, introduced = 10.0))) |
196 | 174 |
|
197 | 175 | // LLVM 15 |
198 | 176 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 130400) || \ |
199 | 177 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 160500) || \ |
200 | 178 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 160500) || \ |
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) |
| 179 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 90500) |
204 | 180 | # define _LIBCPP_INTRODUCED_IN_LLVM_15 0 |
205 | 181 | # else |
206 | 182 | # define _LIBCPP_INTRODUCED_IN_LLVM_15 1 |
|
209 | 185 | __attribute__((availability(macos, strict, introduced = 13.4))) \ |
210 | 186 | __attribute__((availability(ios, strict, introduced = 16.5))) \ |
211 | 187 | __attribute__((availability(tvos, strict, introduced = 16.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))) |
| 188 | + __attribute__((availability(watchos, strict, introduced = 9.5))) |
215 | 189 |
|
216 | 190 | // LLVM 14 |
217 | 191 | # define _LIBCPP_INTRODUCED_IN_LLVM_14 _LIBCPP_INTRODUCED_IN_LLVM_15 |
|
221 | 195 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 130000) || \ |
222 | 196 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 160000) || \ |
223 | 197 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 160000) || \ |
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) |
| 198 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 90000) |
227 | 199 | # define _LIBCPP_INTRODUCED_IN_LLVM_13 0 |
228 | 200 | # else |
229 | 201 | # define _LIBCPP_INTRODUCED_IN_LLVM_13 1 |
|
232 | 204 | __attribute__((availability(macos, strict, introduced = 13.0))) \ |
233 | 205 | __attribute__((availability(ios, strict, introduced = 16.0))) \ |
234 | 206 | __attribute__((availability(tvos, strict, introduced = 16.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))) |
| 207 | + __attribute__((availability(watchos, strict, introduced = 9.0))) |
238 | 208 |
|
239 | 209 | // LLVM 12 |
240 | 210 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 120300) || \ |
241 | 211 | (defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 150300) || \ |
242 | 212 | (defined(__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ < 150300) || \ |
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) |
| 213 | + (defined(__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ < 80300) |
246 | 214 | # define _LIBCPP_INTRODUCED_IN_LLVM_12 0 |
247 | 215 | # else |
248 | 216 | # define _LIBCPP_INTRODUCED_IN_LLVM_12 1 |
|
251 | 219 | __attribute__((availability(macos, strict, introduced = 12.3))) \ |
252 | 220 | __attribute__((availability(ios, strict, introduced = 15.3))) \ |
253 | 221 | __attribute__((availability(tvos, strict, introduced = 15.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))) |
| 222 | + __attribute__((availability(watchos, strict, introduced = 8.3))) |
257 | 223 |
|
258 | 224 | // LLVM 11 |
259 | 225 | # if (defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 110000) || \ |
|
0 commit comments