[llvm-branch-commits] [cfe-branch] r228233 - Release notes: add blurb about C++17 support

Hans Wennborg hans at hanshq.net
Wed Feb 4 15:32:33 PST 2015


Author: hans
Date: Wed Feb  4 17:32:33 2015
New Revision: 228233

URL: http://llvm.org/viewvc/llvm-project?rev=228233&view=rev
Log:
Release notes: add blurb about C++17 support

Modified:
    cfe/branches/release_36/docs/ReleaseNotes.rst

Modified: cfe/branches/release_36/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_36/docs/ReleaseNotes.rst?rev=228233&r1=228232&r2=228233&view=diff
==============================================================================
--- cfe/branches/release_36/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_36/docs/ReleaseNotes.rst Wed Feb  4 17:32:33 2015
@@ -120,10 +120,35 @@ C++ Language Changes in Clang
 - Clang will put individual ``.init_array/.ctors`` sections in
   comdats, reducing code duplication and speeding up startup.
 
-C++11 Feature Support
+C++17 Feature Support
 ^^^^^^^^^^^^^^^^^^^^^
 
-...
+Clang has experimental support for some proposed C++1z (tentatively, C++17)
+features. This support can be enabled using the `-std=c++1z` flag.
+
+New in Clang 3.6 is support for:
+
+- Fold expressions
+
+- `u8` character literals
+
+- Nested namespace definitions: `namespace A::B { ... }` as a shorthand for
+  `namespace A { namespace B { ... } }`
+
+- Attributes for namespaces and enumerators
+
+- Constant evaluation for all non-type template arguments
+
+Note that these features may be changed or removed in future Clang releases
+without notice.
+
+Support for `for (identifier : range)` as a synonym for
+`for (auto &&identifier : range)` has been removed as it is no longer currently
+considered for C++17.
+
+For more details on C++ feature support, see
+`the C++ status page <http://clang.llvm.org/cxx_status.html>`_.
+
 
 Objective-C Language Changes in Clang
 -------------------------------------





More information about the llvm-branch-commits mailing list