From bccda480f424c001a14e0fb84910f20f31f5fcfb Mon Sep 17 00:00:00 2001
From: Douglas Gregor
Date: Sat, 10 Mar 2012 22:20:11 +0000
Subject: [PATCH] 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
---
docs/LanguageExtensions.html | 4 ++++
1 file changed, 4 insertions(+)
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
--
2.50.1