]> granicus.if.org Git - clang/commitdiff
Clarify even further that the lambda-to-block-pointer conversion is only available...
authorDouglas Gregor <dgregor@apple.com>
Sat, 10 Mar 2012 22:20:11 +0000 (22:20 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 10 Mar 2012 22:20:11 +0000 (22:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152511 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LanguageExtensions.html

index b5d57738eae2dc38a018e568e4e6de1971d1be46..997d18489ec088f40d5b3a6fb1ef2f37d07d5931 100644 (file)
@@ -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>
 <!-- ======================================================================= -->