forked from cppstat/cppstat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatures_c99.yaml
More file actions
220 lines (220 loc) · 4.83 KB
/
features_c99.yaml
File metadata and controls
220 lines (220 loc) · 4.83 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
---
features:
- desc: "Universal-character-names in [identifiers](https://en.cppreference.com/w/c/language/identifiers.html)"
support:
- GCC 3.1
- Clang
- MSVC
- Xcode
- desc: "Increased [translation limits](https://en.cppreference.com/w/c/language/identifiers.html#Translation_limits)"
paper: N590
support:
- GCC
- Clang
- Xcode
- owcc
- TinyCC
- desc: "`//` comments"
paper: N644
content: c-line-comments.md
support:
- GCC
- Clang
- MSVC
- Xcode
- owcc
- TinyCC
- desc: "`restrict` pointers"
paper: N448
content: c-restrict.md
support:
- GCC
- Clang
- MSVC (partial)
- Xcode 13
- owcc (partial)
- TinyCC
hints:
- target: MSVC
msg: "Requires /std:c11 or later."
- target: owcc
msg: "`parsed with -zastd=c99 (for wcc*), but does not change the code."
- desc: "Enhanced [arithmetic types](https://en.cppreference.com/w/c/language/arithmetic_types.html)"
paper:
- N815
- N601
- N620
- N638
- N657
- N694
- N809
support:
- GCC
- Clang (partial)
- Xcode (partial)
- desc: "Flexible array members"
content: c-flexible-array.md
support:
- GCC 3
- Clang
- Xcode
- owcc
- TinyCC
- desc: "[Variable-length array](https://en.cppreference.com/w/c/language/array.html#Variable-length_arrays) (VLA) types"
paper: N683
content: c-vla.md
support:
- GCC
- Clang
- Xcode 14
- TinyCC
- desc: "Variably-modified (VM) types"
paper: N2778
support:
- Clang
- Xcode
- desc: "Designated initializers"
paper: N494
content: c-designated-init.md
support:
- GCC 3
- Clang
- MSVC
- Xcode 14
- owcc 1.4
- desc: "Non-constant initializers"
support:
- GCC
- owcc (partial)
hints:
- target: owcc
msg: "Requires -aa for wcc*."
- desc: "Idempotent cvr-qualifiers"
paper: N505
support:
- GCC 3
- Clang
- Xcode
- desc: "Trailing comma in _enumerator-list_"
support:
- GCC
- Clang
- MSVC
- Xcode
- owcc
- TinyCC
- desc: "Hexadecimal [floating constants](https://en.cppreference.com/w/c/language/floating_constant.html)"
paper: N308
content: c-hex-float.md
support:
- GCC 2.8
- Clang
- MSVC
- Xcode
- owcc
- TinyCC
- desc: "[Compound literals](https://en.cppreference.com/w/c/language/compound_literal.html)"
paper: N716
content: c-compound-literals.md
support:
- GCC 3.1
- Clang
- MSVC
- Xcode 14
- desc: "Floating-point environment"
support:
- GCC (partial)
- Clang (partial)
- Xcode 14 (partial)
- desc: "Requiring truncation for divisions of signed integer types"
paper: N617
support:
- GCC
- Clang
- Xcode
- desc: "Implicit `return 0;` in the [`main()` function](https://en.cppreference.com/w/c/language/main_function.html)"
support:
- GCC
- Clang
- MSVC
- Xcode
- owcc 1.5
- TinyCC
- desc: "Declarations and statements in mixed order"
paper: N740
support:
- GCC 3
- Clang
- MSVC
- Xcode 14
- owcc
- TinyCC
- desc: "_init-statement_ in `for` loops"
support:
- GCC
- Clang
- MSVC
- Xcode
- owcc
- TinyCC
- desc: "`inline` functions"
paper: N741
content: c-inline.md
support:
- GCC 4.3
- Clang
- MSVC
- Xcode 14
- owcc 1.3
- TinyCC
- desc: "Predefined variable `__func__`"
paper: N611
content: c-func.md
support:
- GCC 3
- Clang
- MSVC
- Xcode 14
- owcc 1.2
- TinyCC
- desc: "Cvr-qualifiers and `static` in `[]` within function declarations"
support:
- GCC 3.1
- Clang
- Xcode
- desc: "[Variadic macros](https://en.cppreference.com/w/c/preprocessor/replace.html)"
paper: N707
content: c-variadic-macros.md
support:
- GCC 3
- Clang
- MSVC
- Xcode 14
- owcc
- TinyCC
- desc: "`_Pragma` preprocessor operator"
paper: N634
support:
- GCC 3
- Clang
- MSVC (partial)
- Xcode 14
- owcc
hints:
- target: MSVC
msg: "Requires /std:c11 or later."
- desc: "Standard pragmas for floating-point evaluation"
paper:
- N631
- N696
support:
- Clang (partial)
- Xcode (partial)
- owcc (partial)
hints:
- target: Clang
msg: "`STDC FENV_ACCESS ON` is not supported."
- target: Xcode
msg: "`STDC FENV_ACCESS ON` is not supported."
- target: owcc
msg: "`parsed, but does not change the code."