forked from cppstat/cppstat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatures_c23.yaml
More file actions
317 lines (317 loc) · 8.04 KB
/
features_c23.yaml
File metadata and controls
317 lines (317 loc) · 8.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
---
features:
- desc: "`static_assert` with no message"
paper: N2265
support:
- GCC 9
- Clang 9
- MSVC
- Xcode ?
- desc: "`[[nodiscard]]`"
paper: N2267
support:
- GCC 10
- Clang 9
- Xcode ?
- desc: "`[[maybe_unused]]`"
paper: N2270
support:
- GCC 10
- Clang 9
- Xcode ?
- desc: "`[[deprecated]]`"
paper: N2334
support:
- GCC 10
- Clang 9
- Xcode ?
- desc: "[Attributes](https://en.cppreference.com/w/c/language/attributes.html)"
paper:
- N2335
- N2554
content: c-attributes.md
support:
- GCC 10
- Clang 9
- Xcode ?
- desc: "IEEE 754 decimal floating-point types"
paper: N2341
support:
- GCC 4.2 (partial)
- GCC 12
- desc: "`[[fallthrough]]`"
paper: N2408
support:
- GCC 10
- Clang 9
- Xcode ?
- desc: "[u8 character constants](https://en.cppreference.com/w/c/language/character_constant.html)"
paper: N2418
support:
- GCC 10
- Clang 15
- Xcode 15
- desc: "Removal of [function definitions](https://en.cppreference.com/w/c/language/function_definition.html) without prototype"
paper: N2432
support:
- GCC 10
- Clang 15
- Xcode 16.1
- desc: "`[[nodiscard]]` with message"
paper: N2448
support:
- GCC 11
- Clang 10
- Xcode 14
- desc: "Unnamed parameters in function definitions"
paper: N2480
support:
- GCC 11
- Clang 11
- Xcode 13
- desc: "[Labels](https://en.cppreference.com/w/c/language/statements.html#Labels) before declarations and end of blocks"
paper: N2508
support:
- GCC 11
- Clang 16
- MSVC (partial)
- Xcode 15
- desc: "[Binary integer constants](https://en.cppreference.com/w/c/language/integer_constant.html)"
paper: N2549
content: c-binary-literals.md
support:
- GCC 4.3 (hint)
- GCC 11
- Clang 2.9 (hint)
- Clang 9
- MSVC 14.0 (hint)
- Xcode ?
- owcc
- TinyCC
hints:
- target: GCC 4.3
msg: "Supported as an extension."
- target: Clang 2.9
msg: "Supported as an extension."
- target: MSVC 14.0
msg: "Supported as an extension."
- desc: "[__has_c_attribute](https://en.cppreference.com/w/c/language/attributes.html#Attribute_testing) in preprocessor conditionals"
paper: N2553
support:
- GCC 11
- Clang 9
- Xcode ?
- desc: "Allow duplicate attributes"
paper: N2557
support:
- GCC 11
- Clang 13
- Xcode ?
- desc: "IEEE 754 interchange and extended types"
paper: N2601
support:
- GCC 7 (partial)
- GCC 14
- Clang 6 (partial)
- Xcode (partial)
hints:
- target: GCC 7
msg: "Only TS 18661-3 mentioned; the status of conformance is unknown."
- target: Clang 6
msg: "Only `_Float16` is supported."
- target: Xcode
msg: "Only `_Float16` is supported."
- desc: "Digit separators"
paper: N2626
content: c-digit-separators.md
support:
- GCC 12
- Clang 13
- MSVC 14.0 (hint)
- Xcode ?
hints:
- target: MSVC 14.0
msg: "Supported as an extension."
- desc: "[`#elifdef` and `#elifndef`](https://en.cppreference.com/w/c/preprocessor/conditional.html)"
paper: N2645
content: c-elifdef.md
support:
- GCC 12
- Clang 13
- MSVC 14.40
- Xcode 13.3
- desc: "Type change of [u8 string literals](https://en.cppreference.com/w/c/language/string_literal.html)"
paper: N2653
support:
- GCC 13
- desc: "`[[maybe_unused]]` for labels"
paper: N2662
support:
- GCC 11
- Clang 16
- Xcode 16.1
- desc: "`#warning`"
paper: N2686
support:
- GCC
- Clang
- Xcode 16.1
- owcc
- TinyCC
- desc: "Bit-precise integer types (`_BitInt`)"
paper: N2763
content: c-bitint.md
support:
- GCC 14 (partial)
- Clang 15
- Xcode 15
hints:
- target: GCC 14
msg: "Only supported on IA-32, x86-64 and AArch64 LE."
- desc: "`[[noreturn]]`"
paper: N2764
support:
- GCC 13
- Clang 15
- Xcode 15
- desc: "Suffixes for bit-precise integer constants"
paper: N2775
support:
- GCC 14
- Clang 15
- Xcode 16.1
- desc: "`__has_include` in preprocessor conditionals"
paper: N2799
support:
- GCC 5
- Clang
- MSVC 14.11
- Xcode ?
- TinyCC
- desc: "Identifier Syntax using Unicode Standard Annex 31"
paper: N2836
support:
- GCC 13
- Clang 15
- Xcode 16.1
- desc: "Removal of [function declarations](https://en.cppreference.com/w/c/language/function_declaration.html) without prototype"
paper: N2841
support:
- GCC 13
- Clang 15
- Xcode 16.1
- desc: "[Empty initializers](https://en.cppreference.com/w/c/language/initialization.html#Empty_initialization)"
paper: N2900
content: c-empty-init.md
support:
- GCC 13 (partial)
- Clang (partial)
- Xcode (partial)
hints:
- target: GCC 13
msg: "Supported as an extension. Missing support for scalars and variable-length arrays (VLAs)."
- target: Clang
msg: "Supported as an extension. Missing support for scalars and variable-length arrays (VLAs)."
- target: Xcode
msg: "Supported as an extension. Missing support for scalars and variable-length arrays (VLAs)."
- desc: "`typeof` and `typeof_unqual`"
paper:
- N2927
- N2930
content: c-typeof.md
support:
- GCC 13 (hint)
- Clang 16 (hint)
- MSVC 14.39
- Xcode (partial)
hints:
- target: GCC 13
msg: "Prior to GCC 13: Supported as an extension. Only typeof (and `__typeof__` in strict modes) supported."
- target: Clang 16
msg: "Prior to Clang 16: Supported as an extension. Only typeof (and `__typeof__` in strict modes) supported."
- target: Xcode
msg: "Supported as an extension. Only typeof (and `__typeof__` in strict modes) supported."
- desc: "New spelling of keywords"
paper: N2934
support:
- GCC 13
- Clang 16 (partial)
- Xcode 16.1
- desc: "Predefined `true` and `false`"
paper: N2935
content: c-bool-true-false.md
support:
- GCC 13
- Clang 15
- Xcode 16.1
- desc: "`[[unsequenced]]` and `[[reproducible]]`"
paper: N2956
content: c-unreachable.md
support:
- GCC 15
- desc: "Relax requirements for [variadic parameter list](https://en.cppreference.com/w/c/language/variadic.html)"
paper: N2975
support:
- GCC 13
- Clang 16
- Xcode 16.1
- desc: "Type inference in object definitions (`auto`)"
paper: N3007
content: c-auto.md
support:
- GCC 13
- Clang 18
- Xcode 16.4
- desc: "`#embed`"
paper: N3017
content: c-embed.md
support:
- GCC 15
- Clang 19
- Xcode 26
- desc: "`constexpr` objects"
paper: N3018
content: c-constexpr.md
support:
- GCC 13
- Clang 19
- Xcode 16.4
- desc: "Improved Normal Enumerations"
paper: N3029
support:
- GCC 13
- Clang 20 (hint)
- Xcode 16.1
hints:
- target: Clang 20
msg: "Supported as an extension with incomplete diagnostics in earlier versions."
- desc: "Enumerations with fixed underlying types"
paper: N3030
content: c-fixed-enum.md
support:
- GCC 13
- Clang 20 (hint)
- Xcode 16.1
hints:
- target: Clang 20
msg: "Supported as an extension with incomplete diagnostics in earlier versions."
- desc: "`__VA_OPT__`"
paper: N3033
content: c-va-opt.md
support:
- GCC 8
- GCC 13
- Clang 12 (partial)
- MSVC 14.39
- Xcode 14
- desc: "Storage-class specifiers for compound literals"
paper: N3038
support:
- GCC 13
- desc: "`nullptr`"
paper: N3042
content: c-nullptr.md
support:
- GCC 13
- Clang 16 (partial)
- Xcode 16.1