From f85e193739c953358c865005855253af4f68a497 Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 15 Jun 2011 23:02:42 +0000 Subject: Automatic Reference Counting. Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions. Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133103 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LanguageExtensions.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/LanguageExtensions.html') diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index 8f43725d82..cce2e8c5b0 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -65,6 +65,7 @@ td {
  • Objective-C Features
  • Function Overloading in C
  • @@ -669,6 +670,12 @@ property access via the given method. In all other respects, a method with a related result type is treated the same way as method without a related result type.

    + +

    Automatic reference counting

    + + +

    Clang provides support for automated reference counting in Objective-C, which eliminates the need for manual retain/release/autorelease message sends. There are two feature macros associated with automatic reference counting: __has_feature(objc_arc) indicates the availability of automated reference counting in general, while __has_feature(objc_arc_weak) indicates that automated reference counting also includes support for __weak pointers to Objective-C objects.

    +

    Function Overloading in C

    -- cgit v1.2.3-70-g09d2