[llvm-branch-commits] [cfe-branch] r312187 - Add a couple of release note updates for C++ changes since Clang 4.
Richard Smith via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 30 15:58:37 PDT 2017
Author: rsmith
Date: Wed Aug 30 15:58:37 2017
New Revision: 312187
URL: http://llvm.org/viewvc/llvm-project?rev=312187&view=rev
Log:
Add a couple of release note updates for C++ changes since Clang 4.
Modified:
cfe/branches/release_50/docs/ReleaseNotes.rst
Modified: cfe/branches/release_50/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_50/docs/ReleaseNotes.rst?rev=312187&r1=312186&r2=312187&view=diff
==============================================================================
--- cfe/branches/release_50/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_50/docs/ReleaseNotes.rst Wed Aug 30 15:58:37 2017
@@ -149,10 +149,23 @@ assignment operators where applicable.
C++ Language Changes in Clang
-----------------------------
+- Support for the C++17 standard has been completed. This mode can be enabled
+ using ``-std=c++17`` (the old flag ``-std=c++1z`` is still supported for
+ compatibility).
+
+- When targeting a platform that uses the Itanium C++ ABI, Clang implements a
+ `recent change to the ABI`__ that passes objects of class type indirectly if they
+ have a non-trivial move constructor. Previous versions of Clang only
+ considered the copy constructor, resulting in an ABI change in rare cases,
+ but GCC has already implemented this change for several releases.
+ This affects all targets other than Windows and PS4. You can opt out of this
+ ABI change with ``-fclang-abi-compat=4.0``.
+
- As mentioned in `C Language Changes in Clang`_, Clang's support for
implicit scalar to vector conversions also applies to C++. Additionally
the following operators are also supported: ``&&`` and ``||``.
+.. __: https://github.com/itanium-cxx-abi/cxx-abi/commit/7099637aba11fed6bdad7ee65bf4fd3f97fbf076
Objective-C Language Changes in Clang
-------------------------------------
More information about the llvm-branch-commits
mailing list