diff options
author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-01-14 02:27:01 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-14 02:27:01 +0400 |
commit | 91b53a2c791c65e17aa80dce7c357ff705d3fd4e (patch) | |
tree | 045ee7a5d9adaa90449670cd672717099275d133 /clang/www | |
parent | d8cd55414f79c44065753c38d1b5ad5b91e02df9 (diff) | |
download | llvm-91b53a2c791c65e17aa80dce7c357ff705d3fd4e.zip llvm-91b53a2c791c65e17aa80dce7c357ff705d3fd4e.tar.gz llvm-91b53a2c791c65e17aa80dce7c357ff705d3fd4e.tar.bz2 |
[clang] Add tests for DRs about complete-class context (#77444)
[P1787](https://wg21.link/p1787): The intent for CWG2335 (contra those of the older CWG1890, CWG1626, CWG1255, and CWG287) is supported by retaining the unrestricted forward lookup in complete-class contexts (despite current implementation behavior for non-templates).
Wording: The declaration set is the result of a single search in the scope of C for N from immediately after the class-specifier of C if P is in a complete-class context of C or from P otherwise. [Drafting note: The plan for CWG2335 is to describe forbidden dependency cycles among the complete-class contexts of a class. — end drafting note] ([class.member.lookup]/4)
Complete-class context is described in [class.mem.general] [p7](http://eel.is/c++draft/class#mem.general-7) and
[p8](http://eel.is/c++draft/class#mem.general-8). In this patch I add tests only for CWG issues that fall under current definition of complete-class context, because I'm not sure how CWG1255 and CWG287 are going to work. That's why I skip over them, but mark CWG1308 as superseded by CWG1330.
Diffstat (limited to 'clang/www')
-rwxr-xr-x | clang/www/cxx_dr_status.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html index 5acc72d..397bf13 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -2662,7 +2662,7 @@ of class templates</td> <td><a href="https://cplusplus.github.io/CWG/issues/437.html">437</a></td> <td>CD1</td> <td>Is type of class allowed in member function exception specification?</td> - <td class="unknown" align="center">Superseded by <a href="#1308">1308</a></td> + <td class="full" align="center">Superseded by <a href="#1308">1308</a></td> </tr> <tr id="438"> <td><a href="https://cplusplus.github.io/CWG/issues/438.html">438</a></td> @@ -7656,7 +7656,7 @@ and <I>POD class</I></td> <td><a href="https://cplusplus.github.io/CWG/issues/1308.html">1308</a></td> <td>CD3</td> <td>Completeness of class type within an <I>exception-specification</I></td> - <td class="unknown" align="center">Unknown</td> + <td class="full" align="center">Superseded by <a href="#1330">1330</a></td> </tr> <tr id="1309"> <td><a href="https://cplusplus.github.io/CWG/issues/1309.html">1309</a></td> @@ -11148,7 +11148,7 @@ and <I>POD class</I></td> <td><a href="https://cplusplus.github.io/CWG/issues/1890.html">1890</a></td> <td>drafting</td> <td>Member type depending on definition of member function</td> - <td align="center">Not resolved</td> + <td class="none" align="center">No</td> </tr> <tr id="1891"> <td><a href="https://cplusplus.github.io/CWG/issues/1891.html">1891</a></td> @@ -13818,7 +13818,7 @@ and <I>POD class</I></td> <td><a href="https://cplusplus.github.io/CWG/issues/2335.html">2335</a></td> <td>drafting</td> <td>Deduced return types vs member types</td> - <td align="center">Not resolved</td> + <td class="none" align="center">No</td> </tr> <tr id="2336"> <td><a href="https://cplusplus.github.io/CWG/issues/2336.html">2336</a></td> |