[cfe-commits] r139299 - /cfe/trunk/docs/LanguageExtensions.html
Douglas Gregor
dgregor at apple.com
Thu Sep 8 10:19:31 PDT 2011
Author: dgregor
Date: Thu Sep 8 12:19:31 2011
New Revision: 139299
URL: http://llvm.org/viewvc/llvm-project?rev=139299&view=rev
Log:
Document __has_feature(objc_instancetype).
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=139299&r1=139298&r2=139299&view=diff
==============================================================================
--- cfe/trunk/docs/LanguageExtensions.html (original)
+++ cfe/trunk/docs/LanguageExtensions.html Thu Sep 8 12:19:31 2011
@@ -768,6 +768,9 @@
with a related result type is treated the same way as method that
returns <tt>id</tt>.</p>
+<p>Use <tt>__has_feature(objc_instancetype)</tt> to determine whether
+the <tt>instancetype</tt> contextual keyword is available.</p>
+
<!-- ======================================================================= -->
<h2 id="objc_arc">Automatic reference counting </h2>
<!-- ======================================================================= -->
More information about the cfe-commits
mailing list