summaryrefslogtreecommitdiffstats
path: root/clang/docs
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-08 17:19:31 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-08 17:19:31 +0000
commitdc28ba12e1c0e09503607e3b092fca0ff91feec3 (patch)
tree15501da58a71ec99923d73a33035bcd9f9475506 /clang/docs
parent80f78b961a2096ea4b2d3395abb3ff7259c1e612 (diff)
downloadbcm5719-llvm-dc28ba12e1c0e09503607e3b092fca0ff91feec3.tar.gz
bcm5719-llvm-dc28ba12e1c0e09503607e3b092fca0ff91feec3.zip
Document __has_feature(objc_instancetype).
llvm-svn: 139299
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/LanguageExtensions.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/docs/LanguageExtensions.html b/clang/docs/LanguageExtensions.html
index 79c42fda2e9..685544f53f4 100644
--- a/clang/docs/LanguageExtensions.html
+++ b/clang/docs/LanguageExtensions.html
@@ -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>
<!-- ======================================================================= -->
OpenPOWER on IntegriCloud