Author: majnemer
Date: Thu Feb 19 01:28:49 2015
New Revision: 229825

URL: http://llvm.org/viewvc/llvm-project?rev=229825&view=rev
Log:
Mark DR1968 as implemented

Modified:
    cfe/trunk/test/CXX/drs/dr19xx.cpp
    cfe/trunk/www/cxx_dr_status.html

Modified: cfe/trunk/test/CXX/drs/dr19xx.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr19xx.cpp?rev=229825&r1=229824&r2=229825&view=diff
==============================================================================
--- cfe/trunk/test/CXX/drs/dr19xx.cpp (original)
+++ cfe/trunk/test/CXX/drs/dr19xx.cpp Thu Feb 19 01:28:49 2015
@@ -3,6 +3,8 @@
 // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions 
-pedantic-errors
 // RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions 
-pedantic-errors
 
+namespace std { struct type_info; }
+
 namespace dr1902 { // dr1902: 3.7
   struct A {};
   struct B {
@@ -36,3 +38,9 @@ namespace dr1902 { // dr1902: 3.7
   B b({}); // expected-error {{ambiguous}}
 #endif
 }
+
+#if __cplusplus >= 201103L
+namespace dr1968 { // dr1968: yes
+static_assert(&typeid(int) == &typeid(int), ""); // expected-error{{not an 
integral constant expression}}
+}
+#endif

Modified: cfe/trunk/www/cxx_dr_status.html
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_dr_status.html?rev=229825&r1=229824&r2=229825&view=diff
==============================================================================
--- cfe/trunk/www/cxx_dr_status.html (original)
+++ cfe/trunk/www/cxx_dr_status.html Thu Feb 19 01:28:49 2015
@@ -11623,7 +11623,7 @@ and <I>POD class</I></td>
     <td><a 
href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#1968";>1968</a></td>
     <td>NAD</td>
     <td>Address of <TT>typeid</TT> in constant expressions</td>
-    <td class="none" align="center">Unknown</td>
+    <td class="full" align="center">Yes</td>
   </tr>
   <tr class="open" id="1969">
     <td><a 
href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1969";>1969</a></td>


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to