]> granicus.if.org Git - clang/commitdiff
Mention the ObjC property synthesis changes in release notes
authorAlex Lorenz <arphaman@gmail.com>
Tue, 22 Aug 2017 13:11:19 +0000 (13:11 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 22 Aug 2017 13:11:19 +0000 (13:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@311451 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst

index 55ef35d2f68aac4b8933702188e03d0fe9bf77f7..61f0fd1367b41ea86ff5b522da7857896a464e3e 100644 (file)
@@ -176,7 +176,16 @@ C++1z Feature Support
 Objective-C Language Changes in Clang
 -------------------------------------
 
-...
+- Clang now guarantees that a ``readwrite`` property is synthesized when an
+  ambiguous property (i.e. a property that's declared in multiple protocols)
+  is synthesized. The ``-Wprotocol-property-synthesis-ambiguity`` warning that
+  warns about incompatible property types is now promoted to an error when
+  there's an ambiguity between ``readwrite`` and ``readonly`` properties.
+
+- Clang now prohibits synthesis of ambiguous properties with incompatible
+  explicit property attributes. The following property attributes are
+  checked for differences: ``copy``, ``retain``/``strong``, ``atomic``,
+  ``getter`` and ``setter``.
 
 OpenCL C Language Changes in Clang
 ----------------------------------