[cfe-commits] r152511 - /cfe/trunk/docs/LanguageExtensions.html

Douglas Gregor dgregor at apple.com
Sat Mar 10 14:20:11 PST 2012


Author: dgregor
Date: Sat Mar 10 16:20:11 2012
New Revision: 152511

URL: http://llvm.org/viewvc/llvm-project?rev=152511&view=rev
Log:
Clarify even further that the lambda-to-block-pointer conversion is only available in Objective-C++

Modified:
    cfe/trunk/docs/LanguageExtensions.html

Modified: cfe/trunk/docs/LanguageExtensions.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LanguageExtensions.html?rev=152511&r1=152510&r2=152511&view=diff
==============================================================================
--- cfe/trunk/docs/LanguageExtensions.html (original)
+++ cfe/trunk/docs/LanguageExtensions.html Sat Mar 10 16:20:11 2012
@@ -1078,6 +1078,10 @@
 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>
 <!-- ======================================================================= -->





More information about the cfe-commits mailing list