Commit 5a9ac55
committed
[C2y] Add test coverage and documentation for WG14 N3341
This paper made empty structures and unions implementation-defined. We
have always supported this as a GNU extension, so now we're documenting
our behavior and removing the extension warning in C2y mode.1 parent 0daca80 commit 5a9ac55
File tree
4 files changed
+37
-5
lines changed- clang
- docs
- lib/Sema
- test/C/C2y
4 files changed
+37
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5974 | 5974 | | |
5975 | 5975 | | |
5976 | 5976 | | |
| 5977 | + | |
| 5978 | + | |
| 5979 | + | |
| 5980 | + | |
| 5981 | + | |
| 5982 | + | |
| 5983 | + | |
| 5984 | + | |
| 5985 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
301 | 307 | | |
302 | 308 | | |
303 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19365 | 19365 | | |
19366 | 19366 | | |
19367 | 19367 | | |
19368 | | - | |
19369 | | - | |
19370 | | - | |
19371 | | - | |
19372 | | - | |
| 19368 | + | |
| 19369 | + | |
| 19370 | + | |
| 19371 | + | |
| 19372 | + | |
| 19373 | + | |
19373 | 19374 | | |
19374 | 19375 | | |
19375 | 19376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments