Endill created this revision.
Endill added reviewers: clang-language-wg, erichkeane.
Herald added a project: All.
Endill requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
A follow-up to D138852 <https://reviews.llvm.org/D138852>. Apparently 
cxx_dr_status.html was changed manually there, since make_cxx_dr_status script 
doesn't generate the same HTML after that patch landed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138895

Files:
  clang/test/CXX/drs/dr26xx.cpp
  clang/www/make_cxx_dr_status


Index: clang/www/make_cxx_dr_status
===================================================================
--- clang/www/make_cxx_dr_status
+++ clang/www/make_cxx_dr_status
@@ -158,18 +158,18 @@
     # This refers to the old ("C++0x") concepts feature, which was not part
     # of any C++ International Standard or Technical Specification.
     continue
-  if dr.issue in (2565, 2628):
+  elif dr.status == 'extension':
     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.
+    avail = 'Extension'
+    avail_style = ''
+  elif dr.status in ('open', 'drafting', 'review'):
     row_style = ' class="open"'
-    if dr.status == 'extension':
-      avail = 'Extension'
-    else:
+    avail, avail_style = availability(dr.issue)
+    if avail == 'Unknown':
       avail = 'Not resolved'
-    avail_style = ''
-    assert dr.issue not in status_map, "have status for not-ready dr %s" % 
dr.issue
+      avail_style = ''
+    if not avail.startswith('Sup') and not avail.startswith('Dup'):
+      count[avail] = count.get(avail, 0) + 1
   else:
     row_style = ''
     avail, avail_style = availability(dr.issue)
Index: clang/test/CXX/drs/dr26xx.cpp
===================================================================
--- clang/test/CXX/drs/dr26xx.cpp
+++ clang/test/CXX/drs/dr26xx.cpp
@@ -29,7 +29,7 @@
 
 }
 
-namespace dr2635 { // dr2635: yes
+namespace dr2635 { // dr2635: 16
 template<typename T>
 concept UnaryC = true;
 template<typename T, typename U>


Index: clang/www/make_cxx_dr_status
===================================================================
--- clang/www/make_cxx_dr_status
+++ clang/www/make_cxx_dr_status
@@ -158,18 +158,18 @@
     # This refers to the old ("C++0x") concepts feature, which was not part
     # of any C++ International Standard or Technical Specification.
     continue
-  if dr.issue in (2565, 2628):
+  elif dr.status == 'extension':
     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.
+    avail = 'Extension'
+    avail_style = ''
+  elif dr.status in ('open', 'drafting', 'review'):
     row_style = ' class="open"'
-    if dr.status == 'extension':
-      avail = 'Extension'
-    else:
+    avail, avail_style = availability(dr.issue)
+    if avail == 'Unknown':
       avail = 'Not resolved'
-    avail_style = ''
-    assert dr.issue not in status_map, "have status for not-ready dr %s" % dr.issue
+      avail_style = ''
+    if not avail.startswith('Sup') and not avail.startswith('Dup'):
+      count[avail] = count.get(avail, 0) + 1
   else:
     row_style = ''
     avail, avail_style = availability(dr.issue)
Index: clang/test/CXX/drs/dr26xx.cpp
===================================================================
--- clang/test/CXX/drs/dr26xx.cpp
+++ clang/test/CXX/drs/dr26xx.cpp
@@ -29,7 +29,7 @@
 
 }
 
-namespace dr2635 { // dr2635: yes
+namespace dr2635 { // dr2635: 16
 template<typename T>
 concept UnaryC = true;
 template<typename T, typename U>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to