diff options
| author | Douglas Gregor <dgregor@apple.com> | 2012-04-10 20:00:33 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2012-04-10 20:00:33 +0000 |
| commit | 0598962a7ba56554ae1eda33990682b2f7781034 (patch) | |
| tree | ef1c50d2a4a26837b91d9438823225ae42a1532c /clang/docs/LanguageExtensions.html | |
| parent | f7345b027a0022d6a72cacbcb7eb9e019f6c06a3 (diff) | |
| download | bcm5719-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.html | 6 |
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> |

