aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2023-12-09 11:09:07 +0300
committerVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2023-12-09 11:12:54 +0300
commit57eb2054e308da7fb394375dedf8d7b627d1b528 (patch)
treeba0a59597c98f767bf0374477bb41c19ba4f83c6
parent74f6b2d0d747cd49864b1f6163d293c9524ee180 (diff)
downloadllvm-57eb2054e308da7fb394375dedf8d7b627d1b528.zip
llvm-57eb2054e308da7fb394375dedf8d7b627d1b528.tar.gz
llvm-57eb2054e308da7fb394375dedf8d7b627d1b528.tar.bz2
[clang][NFC] Fill in historical data on when C++ DRs 2000-2799 were fixed
-rw-r--r--clang/test/CXX/drs/dr2390.cpp2
-rw-r--r--clang/test/CXX/drs/dr2406.cpp2
-rw-r--r--clang/test/CXX/drs/dr26xx.cpp6
-rwxr-xr-xclang/www/cxx_dr_status.html10
4 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/CXX/drs/dr2390.cpp b/clang/test/CXX/drs/dr2390.cpp
index d8ab1e9..3931365 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 7ea0870..0ab198e 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 8517cd5..1d702e6 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 3f519ff..d09cf61 100755
--- a/clang/www/cxx_dr_status.html
+++ b/clang/www/cxx_dr_status.html
@@ -14147,7 +14147,7 @@ and <I>POD class</I></td>
<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 @@ and <I>POD class</I></td>
<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 @@ and <I>POD class</I></td>
<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 @@ and <I>POD class</I></td>
<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 @@ and <I>POD class</I></td>
<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>