aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-12-03 02:05:57 +0000
committerTed Kremenek <kremenek@apple.com>2009-12-03 02:05:57 +0000
commit22c3410223b4a423b4e9cb3b300e043b1607b6b4 (patch)
tree22592e9093d120440f7967b74c1f3e8f929ceddc
parent87774fd486607f1d8d74701f1df6f000d6f5f73a (diff)
Add __has_feature(cxx_exceptions) and __has_feature(cxx_rtti) to table of contents.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90389 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/LanguageExtensions.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html
index a8707f3f82..edc70377a4 100644
--- a/docs/LanguageExtensions.html
+++ b/docs/LanguageExtensions.html
@@ -24,6 +24,10 @@ td {
<li><a href="#builtinmacros">Builtin Macros</a></li>
<li><a href="#vectors">Vectors and Extended Vectors</a></li>
<li><a href="#checking_language_features">Checks for Standard Language Features</a></li>
+ <ul>
+ <li><a href="#cxx_exceptions">C++ exceptions</a></li>
+ <li><a href="#cxx_rtti">C++ RTTI</a></li>
+ </ul>
<li><a href="#blocks">Blocks</a></li>
<li><a href="#overloading-in-c">Function Overloading in C</a></li>
<li><a href="#builtins">Builtin Functions</a>
@@ -201,15 +205,15 @@ href="#__builtin_shufflevector">__builtin_shufflevector</a>.</p>
<p>The <tt>__has_feature</tt> macro can be used to query if certain standard language features are
enabled. Those features are listed here.</p>
-<h3>C++ exceptions</h3>
+<h3 id="cxx_exceptions">C++ exceptions</h3>
-Use <tt>__has_feature(cxx_exceptions)</tt> to determine if C++ exceptions have been enabled. For
-example, compiling code with <tt>-fexceptions</tt> enables C++ exceptions.
+<p>Use <tt>__has_feature(cxx_exceptions)</tt> to determine if C++ exceptions have been enabled. For
+example, compiling code with <tt>-fexceptions</tt> enables C++ exceptions.</p>
-<h3>C++ RTTI</h3>
+<h3 id="cxx_rtti">C++ RTTI</h3>
-Use <tt>__has_feature(cxx_rtt)</tt> to determine if C++ RTTI has been enabled. For example,
-compiling code with <tt>-fno-rtti</tt> disables the use of RTTI.
+<p>Use <tt>__has_feature(cxx_rtt)</tt> to determine if C++ RTTI has been enabled. For example,
+compiling code with <tt>-fno-rtti</tt> disables the use of RTTI.</p>
<!-- ======================================================================= -->
<h2 id="blocks">Blocks</h2>