[cfe-commits] r68903 - in /cfe/trunk: test/SemaCXX/deleted-function.cpp www/cxx_status.html

Sebastian Redl sebastian.redl at getdesigned.at
Sun Apr 12 10:41:24 PDT 2009


Author: cornedbee
Date: Sun Apr 12 12:41:24 2009
New Revision: 68903

URL: http://llvm.org/viewvc/llvm-project?rev=68903&view=rev
Log:
Add deleted functions and rvalue references to C++ status.

Modified:
    cfe/trunk/test/SemaCXX/deleted-function.cpp
    cfe/trunk/www/cxx_status.html

Modified: cfe/trunk/test/SemaCXX/deleted-function.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/deleted-function.cpp?rev=68903&r1=68902&r2=68903&view=diff

==============================================================================
--- cfe/trunk/test/SemaCXX/deleted-function.cpp (original)
+++ cfe/trunk/test/SemaCXX/deleted-function.cpp Sun Apr 12 12:41:24 2009
@@ -20,6 +20,8 @@
   void fn() = delete; // expected-note {{function has been explicitly marked deleted here}}
   operator int() = delete;
   void operator +(int) = delete;
+
+  int i = delete; // expected-error {{only functions can have deleted definitions}}
 };
 
 void test() {

Modified: cfe/trunk/www/cxx_status.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_status.html?rev=68903&r1=68902&r2=68903&view=diff

==============================================================================
--- cfe/trunk/www/cxx_status.html (original)
+++ cfe/trunk/www/cxx_status.html Sun Apr 12 12:41:24 2009
@@ -1711,7 +1711,8 @@
   <td class="advanced" align="center"></td>
   <td class="broken"></td>
   <td>No name mangling; ASTs don't contain calls to conversion operators</td>
-  </tr><tr>
+  </tr>
+  <tr>
   <td>Static assertions (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.pdf">N1720</a>)</td>
   <td class="complete" align="center">&#x2713;</td>
   <td class="complete" align="center">&#x2713;</td>
@@ -1719,6 +1720,22 @@
   <td class="na">N/A</td>
   <td></td>
   </tr>
+  <tr>
+  <td>Deleted functions (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm">N2346</a>)</td>
+  <td class="complete" align="center">&#x2713;</td>
+  <td class="complete" align="center">&#x2713;</td>
+  <td class="complete" align="center">&#x2713;</td>
+  <td class="na">N/A</td>
+  <td></td>
+  </tr>
+  <tr>
+  <td>Rvalue references (<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html">N2118</a> + <a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2831.html">N2831</a>)</td>
+  <td class="complete" align="center">&#x2713;</td>
+  <td class="complete" align="center">&#x2713;</td>
+  <td class="complete" align="center">&#x2713;</td>
+  <td class="broken"></td>
+  <td></td>
+  </tr>
 </tr>
 
 </table>





More information about the cfe-commits mailing list