diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-26 21:25:54 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-26 21:25:54 +0000 |
commit | 56d5f0abaa263e33c36339da925ebc4c3d14238c (patch) | |
tree | e81061b5ea433e9e9b2f28d62e24eae6c4895e56 /clang/docs/LanguageExtensions.html | |
parent | c83f9865a0dae4b290db05ee65e6e365651dc7b3 (diff) | |
download | bcm5719-llvm-56d5f0abaa263e33c36339da925ebc4c3d14238c.tar.gz bcm5719-llvm-56d5f0abaa263e33c36339da925ebc4c3d14238c.zip |
Add __has_feature(cxx_reference_qualified_functions); update tests and
documentation.
llvm-svn: 124322
Diffstat (limited to 'clang/docs/LanguageExtensions.html')
-rw-r--r-- | clang/docs/LanguageExtensions.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/clang/docs/LanguageExtensions.html b/clang/docs/LanguageExtensions.html index 06b01db7609..b2b3f3cde67 100644 --- a/clang/docs/LanguageExtensions.html +++ b/clang/docs/LanguageExtensions.html @@ -39,6 +39,7 @@ td { <li><a href="#cxx_lambdas">C++0x lambdas</a></li> <li><a href="#cxx_nullptr">C++0x nullptr</a></li> <li><a href="#cxx_rvalue_references">C++0x rvalue references</a></li> + <li><a href="#cxx_reference_qualified_functions">C++0x reference-qualified functions</a></li> <li><a href="#cxx_static_assert">C++0x <tt>static_assert()</tt></a></li> <li><a href="#cxx_auto_type">C++0x type inference</a></li> <li><a href="#cxx_variadic_templates">C++0x variadic templates</a></li> @@ -423,11 +424,13 @@ lambdas is enabled. clang does not currently implement this feature.</p> <tt>nullptr</tt> is enabled. clang does not yet fully implement this feature.</p> +<h3 id="cxx_reference_qualified_functions">C++0x reference-qualified functions</h3> +<p>Use <tt>__has_feature(cxx_reference_qualified_functions)</tt> to determine if support for reference-qualified functions (e.g., member functions with <code>&</code> or <code>&&</code> applied to <code>*this</code>) is enabled.</p> + <h3 id="cxx_rvalue_references">C++0x rvalue references</tt></h3> <p>Use <tt>__has_feature(cxx_rvalue_references)</tt> to determine if support for -rvalue references is enabled. clang does not yet fully implement this -feature.</p> +rvalue references is enabled. </p> <h3 id="cxx_static_assert">C++0x <tt>static_assert()</tt></h3> @@ -438,7 +441,8 @@ compile-time assertions using <tt>static_assert</tt> is enabled.</p> <p>Use <tt>__has_feature(cxx_auto_type)</tt> to determine C++0x type inference is supported using the <tt>auto</tt> specifier. If this is disabled, -<tt>auto</tt> will instead be a storage class specifier, as in C or C++98.</p> +<tt>auto</tt> will instead be a storage class specifier, as in C or C++98. +Clang does not currently implement this feature.</p> <h3 id="cxx_variadic_templates">C++0x variadic templates</h3> |