Skip to content

Commit e77bfaa

Browse files
committed
[clang][NFC] Fill in historical data on when C++ DRs 500-599 were fixed
1 parent 143133f commit e77bfaa

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

clang/test/CXX/drs/dr5xx.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ namespace dr532 { // dr532: 3.5
381381

382382
// dr533: na
383383

384-
namespace dr534 { // dr534: yes
384+
namespace dr534 { // dr534: 2.9
385385
struct S {};
386386
template<typename T> void operator+(S, T);
387387
template<typename T> void operator+<T*>(S, T*) {} // expected-error {{function template partial spec}}
@@ -511,7 +511,7 @@ namespace dr542 { // dr542: yes
511511
#endif
512512
}
513513

514-
namespace dr543 { // dr543: yes
514+
namespace dr543 { // dr543: 3.0
515515
// In C++98+DR543, this is valid because value-initialization doesn't call a
516516
// trivial default constructor, so we never notice that defining the
517517
// constructor would be ill-formed.
@@ -544,7 +544,7 @@ namespace dr546 { // dr546: yes
544544
template<typename T> void A<T>::f() { T::error; }
545545
}
546546

547-
namespace dr547 { // dr547: yes
547+
namespace dr547 { // dr547: 3.2
548548
template<typename T> struct X;
549549
template<typename T> struct X<T() const> {};
550550
template<typename T, typename C> X<T> f(T C::*) { return X<T>(); }
@@ -607,7 +607,7 @@ namespace dr553 {
607607
// dr554: na
608608
// dr556: na
609609

610-
namespace dr557 { // dr557: yes
610+
namespace dr557 { // dr557: 3.1
611611
template<typename T> struct S {
612612
friend void f(S<T> *);
613613
friend void g(S<S<T> > *);
@@ -618,7 +618,7 @@ namespace dr557 { // dr557: yes
618618
}
619619
}
620620

621-
namespace dr558 { // dr558: yes
621+
namespace dr558 { // dr558: 2.9
622622
wchar_t a = L'\uD7FF';
623623
wchar_t b = L'\xD7FF';
624624
wchar_t c = L'\uD800'; // expected-error {{invalid universal character}}
@@ -674,7 +674,7 @@ namespace dr566 { // dr566: yes
674674

675675
// dr567: na
676676

677-
namespace dr568 { // dr568: yes c++11
677+
namespace dr568 { // dr568: 3.0 c++11
678678
// FIXME: This is a DR issue against C++98, so should probably apply there
679679
// too.
680680
struct x { int y; };
@@ -762,7 +762,7 @@ namespace dr573 { // dr573: no
762762
template<int*> struct T;
763763
}
764764

765-
namespace dr574 { // dr574: yes
765+
namespace dr574 { // dr574: 3.0
766766
struct A {
767767
A &operator=(const A&) const; // expected-note {{different qualifiers}}
768768
};
@@ -827,13 +827,13 @@ namespace dr575 { // dr575: yes
827827
void *p = h((void*)0);
828828
}
829829

830-
namespace dr576 { // dr576: yes
830+
namespace dr576 { // dr576: 3.5
831831
typedef void f() {} // expected-error {{function definition declared 'typedef'}}
832832
void f(typedef int n); // expected-error {{invalid storage class}}
833833
void f(char c) { typedef int n; }
834834
}
835835

836-
namespace dr577 { // dr577: yes
836+
namespace dr577 { // dr577: 3.5
837837
typedef void V;
838838
typedef const void CV;
839839
void a(void);
@@ -910,7 +910,7 @@ namespace dr583 { // dr583: 4
910910

911911
// dr584: na
912912

913-
namespace dr585 { // dr585: yes
913+
namespace dr585 { // dr585: 3.0
914914
template<typename> struct T;
915915
struct A {
916916
friend T;
@@ -938,7 +938,7 @@ namespace dr585 { // dr585: yes
938938

939939
// dr586: na
940940

941-
namespace dr587 { // dr587: yes
941+
namespace dr587 { // dr587: 3.2
942942
template<typename T> void f(bool b, const T x, T y) {
943943
const T *p = &(b ? x : y);
944944
}

clang/www/cxx_dr_status.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3243,7 +3243,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
32433243
<td><a href="https://cplusplus.github.io/CWG/issues/534.html">534</a></td>
32443244
<td>CD1</td>
32453245
<td><I>template-name</I>s and <I>operator-function-id</I>s</td>
3246-
<td class="full" align="center">Yes</td>
3246+
<td class="full" align="center">Clang 2.9</td>
32473247
</tr>
32483248
<tr id="535">
32493249
<td><a href="https://cplusplus.github.io/CWG/issues/535.html">535</a></td>
@@ -3299,7 +3299,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
32993299
<td><a href="https://cplusplus.github.io/CWG/issues/543.html">543</a></td>
33003300
<td>CD1</td>
33013301
<td>Value initialization and default constructors</td>
3302-
<td class="full" align="center">Yes</td>
3302+
<td class="full" align="center">Clang 3.0</td>
33033303
</tr>
33043304
<tr id="544">
33053305
<td><a href="https://cplusplus.github.io/CWG/issues/544.html">544</a></td>
@@ -3323,7 +3323,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
33233323
<td><a href="https://cplusplus.github.io/CWG/issues/547.html">547</a></td>
33243324
<td>C++11</td>
33253325
<td>Partial specialization on member function types</td>
3326-
<td class="full" align="center">Yes</td>
3326+
<td class="full" align="center">Clang 3.2</td>
33273327
</tr>
33283328
<tr id="548">
33293329
<td><a href="https://cplusplus.github.io/CWG/issues/548.html">548</a></td>
@@ -3383,13 +3383,13 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
33833383
<td><a href="https://cplusplus.github.io/CWG/issues/557.html">557</a></td>
33843384
<td>CD1</td>
33853385
<td>Does argument-dependent lookup cause template instantiation?</td>
3386-
<td class="full" align="center">Yes</td>
3386+
<td class="full" align="center">Clang 3.1</td>
33873387
</tr>
33883388
<tr id="558">
33893389
<td><a href="https://cplusplus.github.io/CWG/issues/558.html">558</a></td>
33903390
<td>CD1</td>
33913391
<td>Excluded characters in universal character names</td>
3392-
<td class="full" align="center">Yes</td>
3392+
<td class="full" align="center">Clang 2.9</td>
33933393
</tr>
33943394
<tr id="559">
33953395
<td><a href="https://cplusplus.github.io/CWG/issues/559.html">559</a></td>
@@ -3449,7 +3449,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
34493449
<td><a href="https://cplusplus.github.io/CWG/issues/568.html">568</a></td>
34503450
<td>CD1</td>
34513451
<td>Definition of POD is too strict</td>
3452-
<td class="full" align="center">Yes (C++11 onwards)</td>
3452+
<td class="full" align="center">Clang 3.0 (C++11 onwards)</td>
34533453
</tr>
34543454
<tr id="569">
34553455
<td><a href="https://cplusplus.github.io/CWG/issues/569.html">569</a></td>
@@ -3485,7 +3485,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
34853485
<td><a href="https://cplusplus.github.io/CWG/issues/574.html">574</a></td>
34863486
<td>NAD</td>
34873487
<td>Definition of &#8220;copy assignment operator&#8221;</td>
3488-
<td class="full" align="center">Yes</td>
3488+
<td class="full" align="center">Clang 3.0</td>
34893489
</tr>
34903490
<tr id="575">
34913491
<td><a href="https://cplusplus.github.io/CWG/issues/575.html">575</a></td>
@@ -3497,13 +3497,13 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
34973497
<td><a href="https://cplusplus.github.io/CWG/issues/576.html">576</a></td>
34983498
<td>CD2</td>
34993499
<td>Typedefs in function definitions</td>
3500-
<td class="full" align="center">Yes</td>
3500+
<td class="full" align="center">Clang 3.5</td>
35013501
</tr>
35023502
<tr id="577">
35033503
<td><a href="https://cplusplus.github.io/CWG/issues/577.html">577</a></td>
35043504
<td>CD3</td>
35053505
<td><TT>void</TT> in an empty parameter list</td>
3506-
<td class="full" align="center">Yes</td>
3506+
<td class="full" align="center">Clang 3.5</td>
35073507
</tr>
35083508
<tr id="578">
35093509
<td><a href="https://cplusplus.github.io/CWG/issues/578.html">578</a></td>
@@ -3551,7 +3551,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
35513551
<td><a href="https://cplusplus.github.io/CWG/issues/585.html">585</a></td>
35523552
<td>NAD</td>
35533553
<td>Friend template template parameters</td>
3554-
<td class="full" align="center">Yes</td>
3554+
<td class="full" align="center">Clang 3.0</td>
35553555
</tr>
35563556
<tr id="586">
35573557
<td><a href="https://cplusplus.github.io/CWG/issues/586.html">586</a></td>
@@ -3563,7 +3563,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
35633563
<td><a href="https://cplusplus.github.io/CWG/issues/587.html">587</a></td>
35643564
<td>CD2</td>
35653565
<td>Lvalue operands of a conditional expression differing only in cv-qualification</td>
3566-
<td class="full" align="center">Yes</td>
3566+
<td class="full" align="center">Clang 3.2</td>
35673567
</tr>
35683568
<tr id="588">
35693569
<td><a href="https://cplusplus.github.io/CWG/issues/588.html">588</a></td>

0 commit comments

Comments
 (0)