summaryrefslogtreecommitdiffstats
path: root/clang/docs/LanguageExtensions.html
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-04-10 20:00:33 +0000
committerDouglas Gregor <dgregor@apple.com>2012-04-10 20:00:33 +0000
commit0598962a7ba56554ae1eda33990682b2f7781034 (patch)
treeef1c50d2a4a26837b91d9438823225ae42a1532c /clang/docs/LanguageExtensions.html
parentf7345b027a0022d6a72cacbcb7eb9e019f6c06a3 (diff)
downloadbcm5719-llvm-0598962a7ba56554ae1eda33990682b2f7781034.tar.gz
bcm5719-llvm-0598962a7ba56554ae1eda33990682b2f7781034.zip
Add a query macro for C++11 N3276, decltype does not require complete
return types, from Michel Morin! llvm-svn: 154428
Diffstat (limited to 'clang/docs/LanguageExtensions.html')
-rw-r--r--clang/docs/LanguageExtensions.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/docs/LanguageExtensions.html b/clang/docs/LanguageExtensions.html
index 40145a47396..9da30b9c0d9 100644
--- a/clang/docs/LanguageExtensions.html
+++ b/clang/docs/LanguageExtensions.html
@@ -767,7 +767,11 @@ enabled.</p>
<p>Use <tt>__has_feature(cxx_decltype)</tt> or
<tt>__has_extension(cxx_decltype)</tt> to determine if support for the
-<tt>decltype()</tt> specifier is enabled.</p>
+<tt>decltype()</tt> specifier is enabled. C++11's <tt>decltype</tt>
+does not require type-completeness of a function call expression.
+Use <tt>__has_feature(cxx_decltype_incomplete_return_types)</tt>
+or <tt>__has_extension(cxx_decltype_incomplete_return_types)</tt>
+to determine if support for this feature is enabled.</p>
<h4 id="cxx_default_function_template_args">C++11 default template arguments in function templates</h4>
OpenPOWER on IntegriCloud