]> granicus.if.org Git - clang/commitdiff
Document __has_feature(objc_instancetype).
authorDouglas Gregor <dgregor@apple.com>
Thu, 8 Sep 2011 17:19:31 +0000 (17:19 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 8 Sep 2011 17:19:31 +0000 (17:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139299 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LanguageExtensions.html

index 79c42fda2e9a6935b12af0d373ffeed2d022b631..685544f53f4eb61745768d9983de0f94e506701e 100644 (file)
@@ -768,6 +768,9 @@ property access via the given method. In all other respects, a method
 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>
 <!-- ======================================================================= -->