[clang] 57eb205 - [clang][NFC] Fill in historical data on when C++ DRs 2000-2799 were fixed
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 9 00:13:01 PST 2023
Author: Vlad Serebrennikov
Date: 2023-12-09T11:12:54+03:00
New Revision: 57eb2054e308da7fb394375dedf8d7b627d1b528
URL: https://github.com/llvm/llvm-project/commit/57eb2054e308da7fb394375dedf8d7b627d1b528
DIFF: https://github.com/llvm/llvm-project/commit/57eb2054e308da7fb394375dedf8d7b627d1b528.diff
LOG: [clang][NFC] Fill in historical data on when C++ DRs 2000-2799 were fixed
Added:
Modified:
clang/test/CXX/drs/dr2390.cpp
clang/test/CXX/drs/dr2406.cpp
clang/test/CXX/drs/dr26xx.cpp
clang/www/cxx_dr_status.html
Removed:
################################################################################
diff --git a/clang/test/CXX/drs/dr2390.cpp b/clang/test/CXX/drs/dr2390.cpp
index d8ab1e9a1b3853..3931365b568ceb 100644
--- a/clang/test/CXX/drs/dr2390.cpp
+++ b/clang/test/CXX/drs/dr2390.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -E -P %s -o - | FileCheck %s
-// dr2390: yes
+// dr2390: 14
namespace PR48462 {
// Test that macro expansion of the builtin argument works.
diff --git a/clang/test/CXX/drs/dr2406.cpp b/clang/test/CXX/drs/dr2406.cpp
index 7ea0870fb70b38..0ab198e6f1498e 100644
--- a/clang/test/CXX/drs/dr2406.cpp
+++ b/clang/test/CXX/drs/dr2406.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -x c++ %s -verify
-// dr2406: yes
+// dr2406: 5
void fallthrough(int n) {
void g(), h(), i();
diff --git a/clang/test/CXX/drs/dr26xx.cpp b/clang/test/CXX/drs/dr26xx.cpp
index 8517cd5872b183..1d702e66bf8c7f 100644
--- a/clang/test/CXX/drs/dr26xx.cpp
+++ b/clang/test/CXX/drs/dr26xx.cpp
@@ -2,7 +2,7 @@
// RUN: %clang_cc1 -std=c++2b -triple x86_64-unknown-unknown %s -verify
-namespace dr2621 { // dr2621: yes
+namespace dr2621 { // dr2621: 16
enum class E { a };
namespace One {
using E_t = E;
@@ -101,7 +101,7 @@ int y = dr2640_a\N{LOTUS}); // expected-error {{character <U+1FAB7> not allowed
// dr2642: na
-namespace dr2644 { // dr2644: yes
+namespace dr2644 { // dr2644: 8
auto z = [a = 42](int a) { // expected-error {{a lambda parameter cannot shadow an explicitly captured entity}} \
// expected-note {{variable 'a' is explicitly captured here}}
@@ -111,7 +111,7 @@ auto z = [a = 42](int a) { // expected-error {{a lambda parameter cannot shadow
}
#if __cplusplus >= 202302L
-namespace dr2650 { // dr2650: yes
+namespace dr2650 { // dr2650: 17
template <class T, T> struct S {};
template <class T> int f(S<T, T{}>*); // expected-note {{type 'X' of non-type template parameter is not a structural type}}
class X {
diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html
index 3f519ff06742fd..d09cf616899ad4 100755
--- a/clang/www/cxx_dr_status.html
+++ b/clang/www/cxx_dr_status.html
@@ -14147,7 +14147,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/2390.html">2390</a></td>
<td>CD5</td>
<td>Is the argument of <TT>__has_cpp_attribute</TT> macro-expanded?</td>
- <td class="full" align="center">Yes</td>
+ <td class="full" align="center">Clang 14</td>
</tr>
<tr id="2391">
<td><a href="https://cplusplus.github.io/CWG/issues/2391.html">2391</a></td>
@@ -14243,7 +14243,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/2406.html">2406</a></td>
<td>CD5</td>
<td><TT>[[fallthrough]]</TT> attribute and iteration statements</td>
- <td class="full" align="center">Yes</td>
+ <td class="full" align="center">Clang 5</td>
</tr>
<tr id="2407">
<td><a href="https://cplusplus.github.io/CWG/issues/2407.html">2407</a></td>
@@ -15533,7 +15533,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/2621.html">2621</a></td>
<td>C++23</td>
<td>Kind of lookup for <TT>using enum</TT> declarations</td>
- <td class="full" align="center">Yes</td>
+ <td class="full" align="center">Clang 16</td>
</tr>
<tr id="2622">
<td><a href="https://cplusplus.github.io/CWG/issues/2622.html">2622</a></td>
@@ -15671,7 +15671,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/2644.html">2644</a></td>
<td>C++23</td>
<td>Incorrect comment in example</td>
- <td class="full" align="center">Yes</td>
+ <td class="full" align="center">Clang 8</td>
</tr>
<tr id="2645">
<td><a href="https://cplusplus.github.io/CWG/issues/2645.html">2645</a></td>
@@ -15707,7 +15707,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/2650.html">2650</a></td>
<td>C++23</td>
<td>Incorrect example for ill-formed non-type template arguments</td>
- <td class="full" align="center">Yes</td>
+ <td class="full" align="center">Clang 17</td>
</tr>
<tr id="2651">
<td><a href="https://cplusplus.github.io/CWG/issues/2651.html">2651</a></td>
More information about the cfe-commits
mailing list