[all-commits] [llvm/llvm-project] 71bc3d: [clang] Add test for CWG2213

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Tue May 23 02:44:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71bc3dd42e2939a25e4394dbebf6239e3e6403a9
      https://github.com/llvm/llvm-project/commit/71bc3dd42e2939a25e4394dbebf6239e3e6403a9
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M clang/test/CXX/drs/dr22xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang] Add test for CWG2213

[[https://wg21.link/p1787 | P1787]]: CWG2213 is resolved by allowing an elaborated-type-specifier to contain a simple-template-id without friend.
Wording: see changes to [dcl.type.elab]]/1.

The gist of the issue is that forward declaration of partial class template specialization was disallowed.

Reviewed By: #clang-language-wg, shafik

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




More information about the All-commits mailing list