[clang] 1643799 - Undo removal of test for dr777.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 2 14:19:57 PDT 2020


Author: Richard Smith
Date: 2020-06-02T14:19:42-07:00
New Revision: 16437992cac249f6fe1efd392d20e3469b47e39e

URL: https://github.com/llvm/llvm-project/commit/16437992cac249f6fe1efd392d20e3469b47e39e
DIFF: https://github.com/llvm/llvm-project/commit/16437992cac249f6fe1efd392d20e3469b47e39e.diff

LOG: Undo removal of test for dr777.

Added: 
    

Modified: 
    clang/test/CXX/drs/dr7xx.cpp
    clang/www/cxx_dr_status.html

Removed: 
    


################################################################################
diff  --git a/clang/test/CXX/drs/dr7xx.cpp b/clang/test/CXX/drs/dr7xx.cpp
index dc1d7e86c58b..147560d3037b 100644
--- a/clang/test/CXX/drs/dr7xx.cpp
+++ b/clang/test/CXX/drs/dr7xx.cpp
@@ -219,4 +219,16 @@ namespace dr727 { // dr727: partial
   Collision<int, int> c; // expected-note {{in instantiation of}}
 }
 
-// dr777 superseded by dr2233
+namespace dr777 { // dr777: 3.7
+#if __cplusplus >= 201103L
+template <typename... T>
+void f(int i = 0, T ...args) {}
+void ff() { f(); }
+
+template <typename... T>
+void g(int i = 0, T ...args, T ...args2) {}
+
+template <typename... T>
+void h(int i = 0, T ...args, int j = 1) {}
+#endif
+}

diff  --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html
index 1a06a85d0912..4abdc0fa2639 100755
--- a/clang/www/cxx_dr_status.html
+++ b/clang/www/cxx_dr_status.html
@@ -4681,7 +4681,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg777">777</a></td>
     <td>CD2</td>
     <td>Default arguments and parameter packs</td>
-    <td class="full" align="center">Superseded by <a href="#2233">2233</a></td>
+    <td class="full" align="center">Clang 3.7</td>
   </tr>
   <tr id="778">
     <td><a href="https://wg21.link/cwg778">778</a></td>
@@ -13213,7 +13213,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
     <td><a href="https://wg21.link/cwg2233">2233</a></td>
     <td>DRWP</td>
     <td>Function parameter packs following default arguments</td>
-    <td class="full" align="center">Clang 11</td>
+    <td class="unreleased" align="center">Clang 11</td>
   </tr>
   <tr id="2234">
     <td><a href="https://wg21.link/cwg2234">2234</a></td>


        


More information about the cfe-commits mailing list