diff options
author | cor3ntin <corentinjabot@gmail.com> | 2024-01-17 06:16:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 06:16:12 +0100 |
commit | 4e64159c866446ed7f5783649f8f5699f84bb1a6 (patch) | |
tree | d376a1c075c186c73d7345f65e46240bf3391082 /clang/www | |
parent | 933c25e558e6d0d8766d024a329d003a8d4c1162 (diff) | |
download | llvm-4e64159c866446ed7f5783649f8f5699f84bb1a6.zip llvm-4e64159c866446ed7f5783649f8f5699f84bb1a6.tar.gz llvm-4e64159c866446ed7f5783649f8f5699f84bb1a6.tar.bz2 |
[Clang] Implement CWG2598: Union of non-literal types (#78195)
A union is considered a literal type unless it has no non-literal
member.
This resolves CWG2096 (which makes unions with literal members literal)
and CWG2598 (empty unions are literal types).
Fixes #77924
Diffstat (limited to 'clang/www')
-rwxr-xr-x | clang/www/cxx_dr_status.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html index 397bf13..5e7c1a0 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -12384,7 +12384,7 @@ and <I>POD class</I></td> <td><a href="https://cplusplus.github.io/CWG/issues/2096.html">2096</a></td> <td>CD4</td> <td>Constraints on literal unions</td> - <td class="unknown" align="center">Unknown</td> + <td class="unreleased" align="center">Duplicate of <a href="#2598">2598</a></td> </tr> <tr class="open" id="2097"> <td><a href="https://cplusplus.github.io/CWG/issues/2097.html">2097</a></td> @@ -15396,7 +15396,7 @@ and <I>POD class</I></td> <td><a href="https://cplusplus.github.io/CWG/issues/2598.html">2598</a></td> <td>C++23</td> <td>Unions should not require a non-static data member of literal type</td> - <td class="unknown" align="center">Unknown</td> + <td class="unreleased" align="center">Clang 18</td> </tr> <tr id="2599"> <td><a href="https://cplusplus.github.io/CWG/issues/2599.html">2599</a></td> |