summaryrefslogtreecommitdiffstats
path: root/docs/ReleaseNotes.rst
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-08-25 16:12:17 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-08-25 16:12:17 +0000
commit6f135344102bde8d81237cef04ea3d4e1a1b8b46 (patch)
treecb037b3a08f0689d54e58dd30ee8b9854053672f /docs/ReleaseNotes.rst
parent494ef6fbebeba1d68dab968806e2e7adfd2788ec (diff)
[ObjC] Add a -Wobjc-messaging-id warning
-Wobjc-messaging-id is a new, non-default warning that warns about message sends to unqualified id in Objective-C. This warning is useful for projects that would like to avoid any potential future compiler errors/warnings, as the system frameworks might add a method with the same selector which could make the message send to id ambiguous. rdar://33303354 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes.rst')
-rw-r--r--docs/ReleaseNotes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index be038234df..45bf166068 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -66,6 +66,12 @@ Improvements to Clang's diagnostics
a non-default alignment that has been specified using a ``#pragma pack``
directive prior to the ``#include``.
+- ``-Wobjc-messaging-id`` is a new, non-default warning that warns about
+ message sends to unqualified ``id`` in Objective-C. This warning is useful
+ for projects that would like to avoid any potential future compiler
+ errors/warnings, as the system frameworks might add a method with the same
+ selector which could make the message send to ``id`` ambiguous.
+
Non-comprehensive list of changes in this release
-------------------------------------------------