[all-commits] [llvm/llvm-project] 07008a: CWG2635: Disallow constrained structured bindings.

Erich Keane via All-commits all-commits at lists.llvm.org
Mon Nov 28 14:41:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07008a8df57f8eb75e934a3a01ed0a4a76ae92ce
      https://github.com/llvm/llvm-project/commit/07008a8df57f8eb75e934a3a01ed0a4a76ae92ce
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/CXX/drs/dr26xx.cpp
    A clang/test/FixIt/fixit-constrained-structured-binding.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  CWG2635: Disallow constrained structured bindings.

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

Differential Revision: https://reviews.llvm.org/D138852




More information about the All-commits mailing list