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

PoYao Chang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 11 09:13:19 PDT 2023


rZhBoYao updated this revision to Diff 530304.
rZhBoYao added a comment.

Overhaul for `dr25xx.cpp`.

For each test case, tried to support as many language modes as possible.
Not sure what those `-triple x86_64-unknown-unknown` are for? I leave them there nonetheless.

`-Wdeprecated-literal-operator` is under `-Wdeprecated` which is not under `-Wpedantic` so is not triggered by `-pedantic-errors`. Does this need change? I imagine it would be pretty disruptive.  On the other hand, pedantic users might care about deprecation 🤔️.


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

https://reviews.llvm.org/D152632

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/lib/Sema/SemaExprCXX.cpp
  clang/test/CXX/drs/dr17xx.cpp
  clang/test/CXX/drs/dr25xx.cpp
  clang/test/CXX/lex/lex.literal/lex.ext/p1.cpp
  clang/test/CXX/lex/lex.literal/lex.ext/p10.cpp
  clang/test/Parser/cxx0x-literal-operators.cpp
  clang/test/SemaCXX/no-warn-user-defined-literals-in-system-headers.cpp
  clang/www/cxx_dr_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152632.530304.patch
Type: text/x-patch
Size: 13941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230611/a7ef4a31/attachment-0001.bin>


More information about the cfe-commits mailing list