[PATCH] D138852: CWG2635: Disallow constrained structured bindings.

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 28 12:21:51 PST 2022


erichkeane created this revision.
erichkeane added reviewers: clang-language-wg, aaron.ballman.
Herald added a project: All.
erichkeane requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

CWG2635 prohibits adding a constraint to a structured as a defect
report.  This patch implements that restriction.


https://reviews.llvm.org/D138852

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/test/CXX/drs/dr26xx.cpp
  clang/www/cxx_dr_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138852.478326.patch
Type: text/x-patch
Size: 4308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221128/e7d69df1/attachment.bin>


More information about the cfe-commits mailing list