Commit 2fca3f0
committed
[Clang] __has_unique_object_representations should not accept Incomplete[]
This implements [LWG4113](https://cplusplus.github.io/LWG/issue411)
This is technically a breaking change, but it's a fix and I think
anyone who relies on this to day is in a world of hurt.
Fixes #1183501 parent f7fdc8d commit 2fca3f0
File tree
3 files changed
+22
-5
lines changed- clang
- docs
- lib/Sema
- test/SemaCXX
3 files changed
+22
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
550 | 553 | | |
551 | 554 | | |
552 | 555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5418 | 5418 | | |
5419 | 5419 | | |
5420 | 5420 | | |
| 5421 | + | |
| 5422 | + | |
| 5423 | + | |
| 5424 | + | |
| 5425 | + | |
| 5426 | + | |
| 5427 | + | |
| 5428 | + | |
| 5429 | + | |
5421 | 5430 | | |
5422 | 5431 | | |
5423 | 5432 | | |
| |||
5445 | 5454 | | |
5446 | 5455 | | |
5447 | 5456 | | |
5448 | | - | |
5449 | | - | |
5450 | | - | |
5451 | | - | |
5452 | 5457 | | |
5453 | 5458 | | |
5454 | | - | |
5455 | 5459 | | |
5456 | 5460 | | |
5457 | 5461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3383 | 3383 | | |
3384 | 3384 | | |
3385 | 3385 | | |
| 3386 | + | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
| 3390 | + | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
3386 | 3396 | | |
3387 | 3397 | | |
3388 | 3398 | | |
| |||
0 commit comments