Author: rsmith
Date: Sun Apr 3 09:12:46 2011
New Revision: 128787
URL: http://llvm.org/viewvc/llvm-project?rev=128787&view=rev
Log:
clang has had full and tested support for C++0x trailing-return-type and auto
type deduction since r126166. Update the website to reflect this, and add a
__has_feature test.
trailing-return-type codegen is not tested yet (name mangling in particular).
Modified:
cfe/trunk/test/Lexer/has_feature_cxx0x.cpp
cfe/trunk/www/cxx_status.html
Modified: cfe/trunk/test/Lexer/has_feature_cxx0x.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/has_feature_cxx0x.cpp?rev=128787&r1=128786&r2=128787&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/has_feature_cxx0x.cpp (original)
+++ cfe/trunk/test/Lexer/has_feature_cxx0x.cpp Sun Apr 3 09:12:46 2011
@@ -41,6 +41,16 @@
// CHECK-NO-0X: no_auto_type
+#if __has_feature(cxx_trailing_return)
+int has_trailing_return();
+#else
+int no_trailing_return();
+#endif
+
+// CHECK-0X: has_trailing_return
+// CHECK-NO-0X: no_trailing_return
+
+
#if __has_feature(cxx_attributes)
int has_attributes();
#else
Modified: cfe/trunk/www/cxx_status.html
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_status.html?rev=128787&r1=128786&r2=128787&view=diff
==============================================================================
--- cfe/trunk/www/cxx_status.html (original)
+++ cfe/trunk/www/cxx_status.html Sun Apr 3 09:12:46 2011
@@ -221,10 +221,10 @@
</tr>
<tr>
<td>auto type deduction</td>
- <td class="complete" align="center"></td>
- <td class="complete" align="center"></td>
- <td class="complete" align="center"></td>
- <td class="complete" align="center"></td>
+ <td class="complete" align="center">✓</td>
+ <td class="complete" align="center">✓</td>
+ <td class="complete" align="center">✓</td>
+ <td class="complete" align="center">✓</td>
<td>7.1.6.2, 7.1.6.4</td>
<td><a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf">N1984</a></td>
</tr>
@@ -585,10 +585,10 @@
<tr><td colspan="7" class="category">Things Completely New</td></tr>
<tr>
<td>Late-specified return type</td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
+ <td class="complete" align="center">✓</td>
+ <td class="complete" align="center">✓</td>
+ <td class="complete" align="center">✓</td>
+ <td class="complete"></td>
<td>8.3.5</td>
<td><a
href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2445.html">N2445</a></td>
</tr>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits