summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-03-10 22:20:11 +0000
committerDouglas Gregor <dgregor@apple.com>2012-03-10 22:20:11 +0000
commitbccda480f424c001a14e0fb84910f20f31f5fcfb (patch)
treeabcd3da9a0c62e6aa13359efa853edfcc4e04907 /docs
parent1f1988fe75f27548459cabee2ea6162cbfd9add2 (diff)
Clarify even further that the lambda-to-block-pointer conversion is only available in Objective-C++
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LanguageExtensions.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html
index b5d57738ea..997d18489e 100644
--- a/docs/LanguageExtensions.html
+++ b/docs/LanguageExtensions.html
@@ -1078,6 +1078,10 @@ autoreleased: rather, it is given the same lifetime as a block literal
written at that point in the program, which avoids the overhead of
copying a block to the heap in the common case.</p>
+<p>The conversion from a lambda to a block pointer is only available
+in Objective-C++, and not in C++ with blocks, due to its use of
+Objective-C memory management (autorelease).</p>
+
<!-- ======================================================================= -->
<h2 id="overloading-in-c">Function Overloading in C</h2>
<!-- ======================================================================= -->