Skip to content

Commit c79f94d

Browse files
committed
[clang][NFC] Fill in historical data on when C++ DRs 700-1999 were fixed
1 parent 09a05f5 commit c79f94d

File tree

13 files changed

+36
-36
lines changed

13 files changed

+36
-36
lines changed

clang/test/CXX/drs/dr11xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: %clang_cc1 -std=c++17 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
55
// RUN: %clang_cc1 -std=c++2a %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
66

7-
namespace dr1111 { // dr1111: yes
7+
namespace dr1111 { // dr1111: 3.2
88
namespace example1 {
99
template <typename> struct set;
1010

clang/test/CXX/drs/dr12xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void g() {
8181
#endif
8282

8383
#if __cplusplus >= 201103L
84-
namespace dr1227 { // dr1227: yes
84+
namespace dr1227 { // dr1227: 3.0
8585
template <class T> struct A { using X = typename T::X; }; // expected-error {{type 'int' cannot be used prior to '::' because it has no members}}
8686
template <class T> typename T::X f(typename A<T>::X);
8787
template <class T> void f(...) { }

clang/test/CXX/drs/dr13xx.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace std {
1414
}
1515

1616
#if __cplusplus >= 201103L
17-
namespace dr1305 { // dr1305: yes
17+
namespace dr1305 { // dr1305: 3.0
1818
struct Incomplete; // expected-note {{forward declaration of 'dr1305::Incomplete'}}
1919
struct Complete {};
2020

@@ -297,7 +297,7 @@ namespace dr1346 { // dr1346: 3.5
297297
#endif
298298
}
299299

300-
namespace dr1347 { // dr1347: yes
300+
namespace dr1347 { // dr1347: 3.1
301301
auto x = 5, *y = &x; // expected-error 0-1{{extension}}
302302
auto z = y, *q = y; // expected-error {{'auto' deduced as 'int *' in declaration of 'z' and deduced as 'int' in declaration of 'q'}} expected-error 0-1{{extension}}
303303
#if __cplusplus >= 201103L
@@ -306,7 +306,7 @@ namespace dr1347 { // dr1347: yes
306306
#endif
307307
}
308308

309-
namespace dr1358 { // dr1358: yes
309+
namespace dr1358 { // dr1358: 3.1
310310
#if __cplusplus >= 201103L
311311
struct Lit { constexpr operator int() const { return 0; } };
312312
struct NonLit { NonLit(); operator int(); }; // expected-note 2{{no constexpr constructors}}

clang/test/CXX/drs/dr14xx.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,11 +484,11 @@ namespace dr1467 { // dr1467: 3.7 c++11
484484
#endif
485485
} // dr1467
486486

487-
namespace dr1479 { // dr1479: yes
487+
namespace dr1479 { // dr1479: 3.1
488488
int operator"" _a(const char*, std::size_t = 0); // expected-error {{literal operator cannot have a default argument}}
489489
}
490490

491-
namespace dr1482 { // dr1482: yes
491+
namespace dr1482 { // dr1482: 3.0
492492
// NB: sup 2516, test reused there
493493
#if __cplusplus >= 201103L
494494
template <typename T> struct S {

clang/test/CXX/drs/dr15xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ namespace std_example {
233233
#endif // __cplusplus >= 201103L
234234
}
235235

236-
namespace dr1550 { // dr1550: yes
236+
namespace dr1550 { // dr1550: 3.4
237237
int f(bool b, int n) {
238238
return (b ? (throw 0) : n) + (b ? n : (throw 0));
239239
}

clang/test/CXX/drs/dr16xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ namespace dr1631 { // dr1631: 3.7
6868
#endif
6969
}
7070

71-
namespace dr1638 { // dr1638: yes
71+
namespace dr1638 { // dr1638: 3.1
7272
#if __cplusplus >= 201103L
7373
template<typename T> struct A {
7474
enum class E; // expected-note {{previous}}

clang/test/CXX/drs/dr18xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace dr1815 { // dr1815: no
6262
#endif
6363
}
6464

65-
namespace dr1821 { // dr1821: yes
65+
namespace dr1821 { // dr1821: 2.9
6666
struct A {
6767
template <typename> struct B {
6868
void f();

clang/test/CXX/drs/dr19xx.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ namespace dr1903 {
6464
}
6565
}
6666

67-
namespace dr1909 { // dr1909: yes
67+
namespace dr1909 { // dr1909: 3.7
6868
struct A {
6969
template<typename T> struct A {}; // expected-error {{member 'A' has the same name as its class}}
7070
};
@@ -79,7 +79,7 @@ namespace dr1909 { // dr1909: yes
7979
};
8080
}
8181

82-
namespace dr1940 { // dr1940: yes
82+
namespace dr1940 { // dr1940: 3.5
8383
#if __cplusplus >= 201103L
8484
static union {
8585
static_assert(true, ""); // ok
@@ -119,7 +119,7 @@ derived d2(42, 9);
119119
#endif
120120
}
121121

122-
namespace dr1947 { // dr1947: yes
122+
namespace dr1947 { // dr1947: 3.5
123123
#if __cplusplus >= 201402L
124124
unsigned o = 0'01; // ok
125125
unsigned b = 0b'01; // expected-error {{invalid digit 'b' in octal constant}}
@@ -128,7 +128,7 @@ unsigned x = 0x'01; // expected-error {{invalid suffix 'x'01' on integer constan
128128
}
129129

130130
#if __cplusplus >= 201103L
131-
// dr1948: yes
131+
// dr1948: 3.5
132132
// FIXME: This diagnostic could be improved.
133133
void *operator new(__SIZE_TYPE__) noexcept { return nullptr; } // expected-error{{exception specification in declaration does not match previous declaration}}
134134
#endif

clang/test/CXX/drs/dr25xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// expected-no-diagnostics
1111
#endif
1212

13-
namespace dr2516 { // dr2516: yes
13+
namespace dr2516 { // dr2516: 3.0
1414
// NB: reusing 1482 test
1515
#if __cplusplus >= 201103L
1616
template <typename T> struct S {

clang/test/CXX/drs/dr412.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC=
44
// RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC=
55

6-
// dr412: yes
6+
// dr412: 3.4
77
// lwg404: yes
88
// lwg2340: yes
99

clang/test/CXX/drs/dr8xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// expected-no-diagnostics
1010

11-
namespace dr873 { // dr873: yes
11+
namespace dr873 { // dr873: 3.0
1212
#if __cplusplus >= 201103L
1313
template <typename T> void f(T &&);
1414
template <> void f(int &) {} // #1

clang/test/CXX/drs/dr9xx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace dr948 { // dr948: 3.7
4343
#endif
4444
}
4545

46-
namespace dr952 { // dr952: yes
46+
namespace dr952 { // dr952: 2.8
4747
namespace example1 {
4848
struct A {
4949
typedef int I; // #dr952-typedef-decl

clang/www/cxx_dr_status.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2511,7 +2511,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
25112511
<td><a href="https://cplusplus.github.io/CWG/issues/412.html">412</a></td>
25122512
<td>NAD</td>
25132513
<td>Can a replacement allocation function be inline?</td>
2514-
<td class="full" align="center">Yes</td>
2514+
<td class="full" align="center">Clang 3.4</td>
25152515
</tr>
25162516
<tr id="413">
25172517
<td><a href="https://cplusplus.github.io/CWG/issues/413.html">413</a></td>
@@ -5117,7 +5117,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
51175117
<td><a href="https://cplusplus.github.io/CWG/issues/873.html">873</a></td>
51185118
<td>C++11</td>
51195119
<td>Deducing rvalue references in declarative contexts</td>
5120-
<td class="full" align="center">Yes</td>
5120+
<td class="full" align="center">Clang 3.0</td>
51215121
</tr>
51225122
<tr id="874">
51235123
<td><a href="https://cplusplus.github.io/CWG/issues/874.html">874</a></td>
@@ -5519,7 +5519,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
55195519
<td><a href="https://cplusplus.github.io/CWG/issues/952.html">952</a></td>
55205520
<td>CD6</td>
55215521
<td>Insufficient description of &#8220;naming class&#8221;</td>
5522-
<td class="full" align="center">Yes</td>
5522+
<td class="full" align="center">Clang 2.8</td>
55235523
</tr>
55245524
<tr id="953">
55255525
<td><a href="https://cplusplus.github.io/CWG/issues/953.html">953</a></td>
@@ -6473,7 +6473,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
64736473
<td><a href="https://cplusplus.github.io/CWG/issues/1111.html">1111</a></td>
64746474
<td>C++11</td>
64756475
<td>Remove dual-scope lookup of member template names</td>
6476-
<td class="full" align="center">Yes</td>
6476+
<td class="full" align="center">Clang 3.2</td>
64776477
</tr>
64786478
<tr id="1112">
64796479
<td><a href="https://cplusplus.github.io/CWG/issues/1112.html">1112</a></td>
@@ -7169,7 +7169,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
71697169
<td><a href="https://cplusplus.github.io/CWG/issues/1227.html">1227</a></td>
71707170
<td>CD3</td>
71717171
<td>Mixing immediate and non-immediate contexts in deduction failure</td>
7172-
<td class="full" align="center">Yes</td>
7172+
<td class="full" align="center">Clang 3.0</td>
71737173
</tr>
71747174
<tr id="1228">
71757175
<td><a href="https://cplusplus.github.io/CWG/issues/1228.html">1228</a></td>
@@ -7637,7 +7637,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
76377637
<td><a href="https://cplusplus.github.io/CWG/issues/1305.html">1305</a></td>
76387638
<td>CD3</td>
76397639
<td><TT>alignof</TT> applied to array of unknown size</td>
7640-
<td class="full" align="center">Yes</td>
7640+
<td class="full" align="center">Clang 3.0</td>
76417641
</tr>
76427642
<tr id="1306">
76437643
<td><a href="https://cplusplus.github.io/CWG/issues/1306.html">1306</a></td>
@@ -7889,7 +7889,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
78897889
<td><a href="https://cplusplus.github.io/CWG/issues/1347.html">1347</a></td>
78907890
<td>CD3</td>
78917891
<td>Consistency of <TT>auto</TT> in multiple-declarator declarations</td>
7892-
<td class="full" align="center">Yes</td>
7892+
<td class="full" align="center">Clang 3.1</td>
78937893
</tr>
78947894
<tr class="open" id="1348">
78957895
<td><a href="https://cplusplus.github.io/CWG/issues/1348.html">1348</a></td>
@@ -7955,7 +7955,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
79557955
<td><a href="https://cplusplus.github.io/CWG/issues/1358.html">1358</a></td>
79567956
<td>CD3</td>
79577957
<td>Unintentionally ill-formed <TT>constexpr</TT> function template instances</td>
7958-
<td class="full" align="center">Yes</td>
7958+
<td class="full" align="center">Clang 3.1</td>
79597959
</tr>
79607960
<tr id="1359">
79617961
<td><a href="https://cplusplus.github.io/CWG/issues/1359.html">1359</a></td>
@@ -8681,7 +8681,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
86818681
<td><a href="https://cplusplus.github.io/CWG/issues/1479.html">1479</a></td>
86828682
<td>CD3</td>
86838683
<td>Literal operators and default arguments</td>
8684-
<td class="full" align="center">Yes</td>
8684+
<td class="full" align="center">Clang 3.1</td>
86858685
</tr>
86868686
<tr id="1480">
86878687
<td><a href="https://cplusplus.github.io/CWG/issues/1480.html">1480</a></td>
@@ -8699,7 +8699,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
86998699
<td><a href="https://cplusplus.github.io/CWG/issues/1482.html">1482</a></td>
87008700
<td>CD3</td>
87018701
<td>Point of declaration of enumeration</td>
8702-
<td class="full" align="center">Yes</td>
8702+
<td class="full" align="center">Clang 3.0</td>
87038703
</tr>
87048704
<tr id="1483">
87058705
<td><a href="https://cplusplus.github.io/CWG/issues/1483.html">1483</a></td>
@@ -9107,7 +9107,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
91079107
<td><a href="https://cplusplus.github.io/CWG/issues/1550.html">1550</a></td>
91089108
<td>CD3</td>
91099109
<td>Parenthesized <I>throw-expression</I> operand of <I>conditional-expression</I></td>
9110-
<td class="full" align="center">Yes</td>
9110+
<td class="full" align="center">Clang 3.4</td>
91119111
</tr>
91129112
<tr id="1551">
91139113
<td><a href="https://cplusplus.github.io/CWG/issues/1551.html">1551</a></td>
@@ -9635,7 +9635,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
96359635
<td><a href="https://cplusplus.github.io/CWG/issues/1638.html">1638</a></td>
96369636
<td>CD4</td>
96379637
<td>Declaring an explicit specialization of a scoped enumeration</td>
9638-
<td class="full" align="center">Yes</td>
9638+
<td class="full" align="center">Clang 3.1</td>
96399639
</tr>
96409640
<tr id="1639">
96419641
<td><a href="https://cplusplus.github.io/CWG/issues/1639.html">1639</a></td>
@@ -10733,7 +10733,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
1073310733
<td><a href="https://cplusplus.github.io/CWG/issues/1821.html">1821</a></td>
1073410734
<td>CD6</td>
1073510735
<td>Qualified redeclarations in a class <I>member-specification</I></td>
10736-
<td class="full" align="center">Yes</td>
10736+
<td class="full" align="center">Clang 2.9</td>
1073710737
</tr>
1073810738
<tr id="1822">
1073910739
<td><a href="https://cplusplus.github.io/CWG/issues/1822.html">1822</a></td>
@@ -11261,7 +11261,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
1126111261
<td><a href="https://cplusplus.github.io/CWG/issues/1909.html">1909</a></td>
1126211262
<td>CD4</td>
1126311263
<td>Member class template with the same name as the class</td>
11264-
<td class="full" align="center">Yes</td>
11264+
<td class="full" align="center">Clang 3.7</td>
1126511265
</tr>
1126611266
<tr id="1910">
1126711267
<td><a href="https://cplusplus.github.io/CWG/issues/1910.html">1910</a></td>
@@ -11447,7 +11447,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
1144711447
<td><a href="https://cplusplus.github.io/CWG/issues/1940.html">1940</a></td>
1144811448
<td>CD4</td>
1144911449
<td><TT>static_assert</TT> in anonymous unions</td>
11450-
<td class="full" align="center">Yes</td>
11450+
<td class="full" align="center">Clang 3.5</td>
1145111451
</tr>
1145211452
<tr id="1941">
1145311453
<td><a href="https://cplusplus.github.io/CWG/issues/1941.html">1941</a></td>
@@ -11489,13 +11489,13 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
1148911489
<td><a href="https://cplusplus.github.io/CWG/issues/1947.html">1947</a></td>
1149011490
<td>NAD</td>
1149111491
<td>Digit separators following non-octal prefix</td>
11492-
<td class="full" align="center">Yes</td>
11492+
<td class="full" align="center">Clang 3.5</td>
1149311493
</tr>
1149411494
<tr id="1948">
1149511495
<td><a href="https://cplusplus.github.io/CWG/issues/1948.html">1948</a></td>
1149611496
<td>NAD</td>
1149711497
<td><I>exception-specification</I> of replacement global <TT>new</TT></td>
11498-
<td class="full" align="center">Yes</td>
11498+
<td class="full" align="center">Clang 3.5</td>
1149911499
</tr>
1150011500
<tr id="1949">
1150111501
<td><a href="https://cplusplus.github.io/CWG/issues/1949.html">1949</a></td>
@@ -14903,7 +14903,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
1490314903
<td><a href="https://cplusplus.github.io/CWG/issues/2516.html">2516</a></td>
1490414904
<td>C++23</td>
1490514905
<td>Locus of <I>enum-specifier</I> or <I>opaque-enum-declaration</I></td>
14906-
<td class="full" align="center">Yes</td>
14906+
<td class="full" align="center">Clang 3.0</td>
1490714907
</tr>
1490814908
<tr id="2517">
1490914909
<td><a href="https://cplusplus.github.io/CWG/issues/2517.html">2517</a></td>

0 commit comments

Comments
 (0)