[PATCH] D152632: [Clang] Add warnings for CWG2521

Vlad Serebrennikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 10 23:51:50 PDT 2023


Endill requested changes to this revision.
Endill added a comment.
This revision now requires changes to proceed.

Thank you for working on this!

In D152632#4411587 <https://reviews.llvm.org/D152632#4411587>, @rZhBoYao wrote:

> Few questions:
> I think this applies to all the language modes?

Yes, we rarely limit the scope of DRs, and I'm looking forward to get rid of exceptions from this approach (grep "since" in cxx_dr_status.html <https://clang.llvm.org/cxx_dr_status.html>).

> Somehow, https://wg21.link/CWG2521 is not redirecting to https://cplusplus.github.io/CWG/issues/2521.html. Is this normal?

It happens, especially with recently updated DRs. I see it in CWG index <https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_index.html>, so you can ignore broken wg21.link.



================
Comment at: clang/www/cxx_dr_status.html:14936
     <td>User-defined literals and reserved identifiers</td>
-    <td class="none" align="center">Unknown</td>
+    <td class="unreleased" align="center">Clang 17</td>
   </tr>
----------------
This file shouldn't be edited manually. You should write a test in `clang/test/CXX/drs/dr25xx.cpp`, and then run `clang/www/make_cxx_dr_status` script that updates `cxx_dr_status.html`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152632/new/

https://reviews.llvm.org/D152632



More information about the cfe-commits mailing list