diff options
author | Patrick Beard <pcbeard@mac.com> | 2012-03-20 21:51:03 +0000 |
---|---|---|
committer | Patrick Beard <pcbeard@mac.com> | 2012-03-20 21:51:03 +0000 |
commit | 62f123445722414127bffc10865cc2e34acfc608 (patch) | |
tree | 24a26ab13102029a60ebde311fda4986870e6cb0 /docs | |
parent | 4b2fe6e48fe72122fc749a79953755c6fa055900 (diff) |
Added summary section for Object Literals and Subscripting, which contains the external link.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LanguageExtensions.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index 19a776827d..d7e4931b8c 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -89,7 +89,7 @@ <li><a href="#objc_arc">Automatic reference counting</a></li> <li><a href="#objc_fixed_enum">Enumerations with a fixed underlying type</a></li> <li><a href="#objc_lambdas">Interoperability with C++11 lambdas</a></li> - <li><a href="ObjectiveCLiterals.html">Object Literals and Subscripting</a></li> + <li><a href="#object-literals-subscripting">Object Literals and Subscripting</a></li> </ul> </li> <li><a href="#overloading-in-c">Function Overloading in C</a></li> @@ -1135,6 +1135,12 @@ in Objective-C++, and not in C++ with blocks, due to its use of Objective-C memory management (autorelease).</p> <!-- ======================================================================= --> +<h2 id="object-literals-subscripting">Object Literals and Subscripting</h2> +<!-- ======================================================================= --> + +<p>Clang provides support for <a href="ObjectiveCLiterals.html">Object Literals and Subscripting</a> in Objective-C, which simplifies common Objective-C programming patterns, make programs more concise, and improves the safety of container creation. There are several feature macros associated with object literals and subscripting: <code>__has_feature(objc_array_literals)</code> tests the availability of array literals; <code>__has_feature(objc_dictionary_literals)</code> tests the availability of dictionary literals; <code>__has_feature(objc_subscripting)</code> tests the availability of of object subscripting.</p> + +<!-- ======================================================================= --> <h2 id="overloading-in-c">Function Overloading in C</h2> <!-- ======================================================================= --> |