Skip to content

Commit

Permalink
[clang][NFC] Fill in historical data on when C++ DRs 2000-2799 were f…
Browse files Browse the repository at this point in the history
…ixed
  • Loading branch information
Endilll committed Dec 9, 2023
1 parent 74f6b2d commit 57eb205
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion clang/test/CXX/drs/dr2390.cpp
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion clang/test/CXX/drs/dr2406.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -x c++ %s -verify

// dr2406: yes
// dr2406: 5

void fallthrough(int n) {
void g(), h(), i();
Expand Down
6 changes: 3 additions & 3 deletions clang/test/CXX/drs/dr26xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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}}
Expand All @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions clang/www/cxx_dr_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 57eb205

Please sign in to comment.