From: Douglas Gregor
Date: Sat, 10 Mar 2012 22:20:11 +0000 (+0000)
Subject: Clarify even further that the lambda-to-block-pointer conversion is only available...
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bccda480f424c001a14e0fb84910f20f31f5fcfb;p=clang
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
---
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.
+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).
+
Function Overloading in C