[clang] 6bca52b - [Clang] update cxx_dr_status.html by running make_cxx_dr_status

Yuanfang Chen via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 11:45:55 PDT 2022


Author: Yuanfang Chen
Date: 2022-10-18T11:45:40-07:00
New Revision: 6bca52be03491e796e82dd51133f29e2b7bda148

URL: https://github.com/llvm/llvm-project/commit/6bca52be03491e796e82dd51133f29e2b7bda148
DIFF: https://github.com/llvm/llvm-project/commit/6bca52be03491e796e82dd51133f29e2b7bda148.diff

LOG: [Clang] update cxx_dr_status.html by running make_cxx_dr_status

For https://github.com/llvm/llvm-project/issues/58382

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D136133

Added: 
    

Modified: 
    clang/test/CXX/drs/dr25xx.cpp
    clang/test/CXX/drs/dr2xx.cpp
    clang/www/cxx_dr_status.html
    clang/www/make_cxx_dr_status

Removed: 
    


################################################################################
diff  --git a/clang/test/CXX/drs/dr25xx.cpp b/clang/test/CXX/drs/dr25xx.cpp
index 37b8dea188b60..a0b947b8d58ed 100644
--- a/clang/test/CXX/drs/dr25xx.cpp
+++ b/clang/test/CXX/drs/dr25xx.cpp
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-unknown %s -verify
 
-namespace dr2565 { // dr252: 16
+namespace dr2565 { // dr2565: 16
   template<typename T>
     concept C = requires (typename T::type x) {
       x + 1;

diff  --git a/clang/test/CXX/drs/dr2xx.cpp b/clang/test/CXX/drs/dr2xx.cpp
index 580e496857bd7..c76b65ddeef56 100644
--- a/clang/test/CXX/drs/dr2xx.cpp
+++ b/clang/test/CXX/drs/dr2xx.cpp
@@ -243,7 +243,7 @@ namespace dr222 { // dr222: dup 637
 
 // dr223: na
 
-namespace dr224 { // dr224: yes
+namespace dr224 { // dr224: 16
   namespace example1 {
     template <class T> class A {
       typedef int type;

diff  --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html
index 0289372644056..24beb7fc88b65 100755
--- a/clang/www/cxx_dr_status.html
+++ b/clang/www/cxx_dr_status.html
@@ -1383,7 +1383,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg224">224</a></td>
     <td>CD1</td>
     <td>Definition of dependent names</td>
-    <td class="none" align="center">No</td>
+    <td class="unreleased" align="center">Clang 16</td>
   </tr>
   <tr id="225">
     <td><a href="https://wg21.link/cwg225">225</a></td>
@@ -7650,7 +7650,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg1307">1307</a></td>
     <td>C++14</td>
     <td>Overload resolution based on size of array <I>initializer-list</I></td>
-    <td class="unreleased" align="center">Clang 14</td>
+    <td class="full" align="center">Clang 14</td>
   </tr>
   <tr id="1308">
     <td><a href="https://wg21.link/cwg1308">1308</a></td>
@@ -8172,7 +8172,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg1394">1394</a></td>
     <td>CD3</td>
     <td>Incomplete types as parameters of deleted functions</td>
-    <td class="unreleased" align="center">Clang 15</td>
+    <td class="full" align="center">Clang 15</td>
   </tr>
   <tr id="1395">
     <td><a href="https://wg21.link/cwg1395">1395</a></td>
@@ -8400,7 +8400,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg1432">1432</a></td>
     <td>open</td>
     <td>Newly-ambiguous variadic template expansions</td>
-    <td align="center">Not resolved</td>
+    <td class="unreleased" align="center">Clang 16</td>
   </tr>
   <tr class="open" id="1433">
     <td><a href="https://wg21.link/cwg1433">1433</a></td>
@@ -10380,7 +10380,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg1762">1762</a></td>
     <td>C++14</td>
     <td>Reserved identifier used in <I>literal-operator-id</I> example</td>
-    <td class="unreleased" align="center">Clang 14</td>
+    <td class="full" align="center">Clang 14</td>
   </tr>
   <tr class="open" id="1763">
     <td><a href="https://wg21.link/cwg1763">1763</a></td>
@@ -10440,7 +10440,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg1772">1772</a></td>
     <td>C++14</td>
     <td><TT>__func__</TT> in a lambda body</td>
-    <td class="unreleased" align="center">Clang 14</td>
+    <td class="full" align="center">Clang 14</td>
   </tr>
   <tr id="1773">
     <td><a href="https://wg21.link/cwg1773">1773</a></td>
@@ -10482,7 +10482,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg1779">1779</a></td>
     <td>CD4</td>
     <td>Type dependency of <TT>__func__</TT></td>
-    <td class="unreleased" align="center">Clang 14</td>
+    <td class="full" align="center">Clang 14</td>
   </tr>
   <tr id="1780">
     <td><a href="https://wg21.link/cwg1780">1780</a></td>
@@ -12834,7 +12834,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg2171">2171</a></td>
     <td>CD4</td>
     <td>Triviality of copy constructor with less-qualified parameter</td>
-    <td class="unreleased" align="center">Clang 15</td>
+    <td class="full" align="center">Clang 15</td>
   </tr>
   <tr class="open" id="2172">
     <td><a href="https://wg21.link/cwg2172">2172</a></td>
@@ -13932,7 +13932,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg2354">2354</a></td>
     <td>CD5</td>
     <td>Extended alignment and object representation</td>
-    <td class="unreleased" align="center">Clang 15</td>
+    <td class="full" align="center">Clang 15</td>
   </tr>
   <tr id="2355">
     <td><a href="https://wg21.link/cwg2355">2355</a></td>
@@ -14172,7 +14172,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg2394">2394</a></td>
     <td>CD5</td>
     <td>Const-default-constructible for members</td>
-    <td class="unreleased" align="center">Clang 15</td>
+    <td class="full" align="center">Clang 15</td>
   </tr>
   <tr class="open" id="2395">
     <td><a href="https://wg21.link/cwg2395">2395</a></td>
@@ -15198,7 +15198,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg2565">2565</a></td>
     <td>open</td>
     <td>Invalid types in the <I>parameter-declaration-clause</I> of a <I>requires-expression</I></td>
-    <td class="full" align="center">Clang 16</td>
+    <td class="unreleased" align="center">Clang 16</td>
   </tr>
   <tr class="open" id="2566">
     <td><a href="https://wg21.link/cwg2566">2566</a></td>

diff  --git a/clang/www/make_cxx_dr_status b/clang/www/make_cxx_dr_status
index b02ccb724bde2..73cecb3afbc02 100755
--- a/clang/www/make_cxx_dr_status
+++ b/clang/www/make_cxx_dr_status
@@ -91,7 +91,7 @@ out_file.write('''\
     <th>Available in Clang?</th>
   </tr>''')
 
-latest_release = 13
+latest_release = 15
 
 def availability(issue):
   status = status_map.get(issue, 'unknown')
@@ -158,7 +158,10 @@ for dr in drs:
     # This refers to the old ("C++0x") concepts feature, which was not part
     # of any C++ International Standard or Technical Specification.
     continue
-  if dr.status in ('open', 'concurrency', 'drafting', 'review', 'extension'):
+  if dr.issue in (1432,2565):
+    row_style = ' class="open"'
+    avail, avail_style = availability(dr.issue)
+  elif dr.status in ('open', 'concurrency', 'drafting', 'review', 'extension'):
     # We may have to deal with these some day, but not yet.
     row_style = ' class="open"'
     if dr.status == 'extension':
@@ -182,7 +185,7 @@ for dr in drs:
   </tr>''' % (row_style, dr.issue, dr.issue, dr.issue, dr.status, dr.title, avail_style, avail))
 
 for status, num in sorted(count.items()):
-  print("%s: %s" % (status, num))
+  print("%s: %s" % (status, num), file=sys.stderr)
 
 out_file.write('''\
 </table>


        


More information about the cfe-commits mailing list