From: Chandler Carruth
Date: Tue, 29 Nov 2011 00:15:23 +0000 (+0000)
Subject: Flesh out the Objective-C section a bit. This may well need some love
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d58212ab17801ba1dfef5f0a95a51d97c7701f0;p=clang
Flesh out the Objective-C section a bit. This may well need some love
from the Objective-C experts, but the basic stuff is there now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145333 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index 9070dce5af..f30058ecb1 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -93,8 +93,6 @@ prose in a section of its own. When doing that, delete the notes.
information for LLDB and other clients which dynamically build AST nodes.
Memory reduction -- initializers, macro expansions, source locations,
etc.
- ObjC ARC -- get a blurb from rjmccall
- ObjC related result type/instancetype
Thread Safety attributes and correctness analysis added to Clang.
Major improvements to the interactions between serializing and
deserializing the AST and the preprocessor -- argiris
@@ -260,6 +258,24 @@ form remains as an alias.
Objective-C Language Changes in Clang
+Clang 3.0 introduces several new Objective-C language features and improvements.
+
+Objective-C Automatic Reference Counting
+
+ARC provides automated memory management for Objective-C programs that is
+compatible with existing retain/release code. ARC is carefully built to
+be a reliable programming model that errs on the side of producing a
+compiler error instead of silently producing a runtime memory problem.
+ARC automates Objective-C objects, not malloc data, file descriptors,
+CoreFoundation datatypes or anything else. For more details, see the
+full specification.
+
+Objective-C Related Result Types / Instance
+Types
+Allows declaring new methods which follow the Cocoa conventions for methods
+such as init
which always return objects that are an instance of
+the receiving class's type. For more details, see the
+language extension documentation.
Internal API Changes