Skip to content

Commit

Permalink
[clang][NFC] Fill in historical data on when C++ DRs 100-199 were fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Endilll committed Dec 1, 2023
1 parent da1aff2 commit 289fe74
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions clang/test/CXX/drs/dr1xx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace dr107 { // dr107: yes
extern "C" S operator+(S, S) { return S(); }
}

namespace dr108 { // dr108: yes
namespace dr108 { // dr108: 2.9
template<typename T> struct A {
struct B { typedef int X; };
B::X x;
Expand Down Expand Up @@ -143,7 +143,7 @@ namespace dr114 { // dr114: yes
} b; // expected-error {{abstract}}
}

namespace dr115 { // dr115: yes
namespace dr115 { // dr115: 3.0
template<typename T> int f(T); // expected-note +{{}}
template<typename T> int g(T); // expected-note +{{}}
template<typename T> int g(T, int); // expected-note +{{}}
Expand Down Expand Up @@ -480,7 +480,7 @@ namespace dr140 { // dr140: yes
void g(int n) { n = 2; }
}

namespace dr141 { // dr141: yes
namespace dr141 { // dr141: 3.1
template<typename T> void f();
template<typename T> struct S { int n; }; // expected-note {{'::dr141::S<int>::n' declared here}}
struct A : S<int> {
Expand Down Expand Up @@ -518,7 +518,7 @@ namespace dr141 { // dr141: yes
void i() { C<X>().i(); } // ok!!
}

namespace dr142 { // dr142: yes
namespace dr142 { // dr142: 2.8
class B { // expected-note +{{here}}
public:
int mi; // expected-note +{{here}}
Expand Down Expand Up @@ -602,7 +602,7 @@ namespace dr148 { // dr148: yes

// dr149: na

namespace dr151 { // dr151: yes
namespace dr151 { // dr151: 3.1
struct X {};
typedef int X::*p;
#if __cplusplus < 201103L
Expand Down Expand Up @@ -655,7 +655,7 @@ namespace dr159 { // dr159: 3.5

// dr160: na

namespace dr161 { // dr161: yes
namespace dr161 { // dr161: 3.1
class A {
protected:
struct B { int n; } b; // expected-note 2{{here}}
Expand Down Expand Up @@ -724,7 +724,7 @@ namespace dr165 { // dr165: no
void N::g() {}
}

namespace dr166 { // dr166: yes
namespace dr166 { // dr166: 2.9
namespace A { class X; }

template<typename T> int f(T t) { return t.n; }
Expand Down Expand Up @@ -827,7 +827,7 @@ namespace dr173 { // dr173: yes

// dr174: sup 1012

namespace dr175 { // dr175: yes
namespace dr175 { // dr175: 2.8
struct A {}; // expected-note {{here}}
struct B : private A {}; // expected-note {{constrained by private inheritance}}
struct C : B {
Expand All @@ -836,7 +836,7 @@ namespace dr175 { // dr175: yes
};
}

namespace dr176 { // dr176: yes
namespace dr176 { // dr176: 3.1
template<typename T> class Y;
template<> class Y<int> {
void f() {
Expand Down Expand Up @@ -904,7 +904,7 @@ namespace dr179 { // dr179: yes
int n = &f - &f; // expected-error {{arithmetic on pointers to the function type 'void ()'}}
}

namespace dr180 { // dr180: yes
namespace dr180 { // dr180: 2.8
template<typename T> struct X : T, T::some_base {
X() : T::some_type_that_might_be_T(), T::some_base() {}
friend class T::some_class;
Expand Down
20 changes: 10 additions & 10 deletions clang/www/cxx_dr_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/108.html">108</a></td>
<td>TC1</td>
<td>Are classes nested in templates dependent?</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 2.9</td>
</tr>
<tr id="109">
<td><a href="https://cplusplus.github.io/CWG/issues/109.html">109</a></td>
Expand Down Expand Up @@ -727,7 +727,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/115.html">115</a></td>
<td>CD1</td>
<td>Address of template-id</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 3.0</td>
</tr>
<tr id="116">
<td><a href="https://cplusplus.github.io/CWG/issues/116.html">116</a></td>
Expand Down Expand Up @@ -883,13 +883,13 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/141.html">141</a></td>
<td>CD1</td>
<td>Non-member function templates in member access expressions</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 3.1</td>
</tr>
<tr id="142">
<td><a href="https://cplusplus.github.io/CWG/issues/142.html">142</a></td>
<td>TC1</td>
<td>Injection-related errors in access example</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 2.8</td>
</tr>
<tr id="143">
<td><a href="https://cplusplus.github.io/CWG/issues/143.html">143</a></td>
Expand Down Expand Up @@ -943,7 +943,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/151.html">151</a></td>
<td>TC1</td>
<td>Terminology of zero-initialization</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 3.1</td>
</tr>
<tr id="152">
<td><a href="https://cplusplus.github.io/CWG/issues/152.html">152</a></td>
Expand Down Expand Up @@ -1003,7 +1003,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/161.html">161</a></td>
<td>TC1</td>
<td>Access to protected nested type</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 3.1</td>
</tr>
<tr id="162">
<td><a href="https://cplusplus.github.io/CWG/issues/162.html">162</a></td>
Expand Down Expand Up @@ -1033,7 +1033,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/166.html">166</a></td>
<td>TC1</td>
<td>Friend declarations of <I>template-id</I>s</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 2.9</td>
</tr>
<tr id="167">
<td><a href="https://cplusplus.github.io/CWG/issues/167.html">167</a></td>
Expand Down Expand Up @@ -1087,13 +1087,13 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/175.html">175</a></td>
<td>CD1</td>
<td>Class name injection and base name access</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 2.8</td>
</tr>
<tr id="176">
<td><a href="https://cplusplus.github.io/CWG/issues/176.html">176</a></td>
<td>TC1</td>
<td>Name injection and templates</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 3.1</td>
</tr>
<tr id="177">
<td><a href="https://cplusplus.github.io/CWG/issues/177.html">177</a></td>
Expand All @@ -1117,7 +1117,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
<td><a href="https://cplusplus.github.io/CWG/issues/180.html">180</a></td>
<td>CD1</td>
<td><TT>typename</TT> and elaborated types</td>
<td class="full" align="center">Yes</td>
<td class="full" align="center">Clang 2.8</td>
</tr>
<tr id="181">
<td><a href="https://cplusplus.github.io/CWG/issues/181.html">181</a></td>
Expand Down

0 comments on commit 289fe74

Please sign in to comment.