aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2009-04-12 17:41:24 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2009-04-12 17:41:24 +0000
commit0b5e7fbb94071e83a527e6759154d9512620f0ce (patch)
tree0c2206419b4093e09343f470eb7fc079a6557959
parente2b6833d445c7a4ce64f1816c05f176ba1740aca (diff)
Add deleted functions and rvalue references to C++ status.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68903 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/deleted-function.cpp2
-rw-r--r--www/cxx_status.html19
2 files changed, 20 insertions, 1 deletions
diff --git a/test/SemaCXX/deleted-function.cpp b/test/SemaCXX/deleted-function.cpp
index 0e36396023..8064ed349b 100644
--- a/test/SemaCXX/deleted-function.cpp
+++ b/test/SemaCXX/deleted-function.cpp
@@ -20,6 +20,8 @@ struct WithDel {
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() {
diff --git a/www/cxx_status.html b/www/cxx_status.html
index 7d87303c28..fea31b6edb 100644
--- a/www/cxx_status.html
+++ b/www/cxx_status.html
@@ -1711,7 +1711,8 @@ welcome!</p>
<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 @@ welcome!</p>
<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>