]> granicus.if.org Git - clang/commitdiff
Add __has_feature(cxx_exceptions) and __has_feature(cxx_rtti) to table of contents.
authorTed Kremenek <kremenek@apple.com>
Thu, 3 Dec 2009 02:05:57 +0000 (02:05 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 3 Dec 2009 02:05:57 +0000 (02:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90389 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LanguageExtensions.html

index a8707f3f82dc26c305e25b7f1728d1854573b9b5..edc70377a42a5db565e1801f0de53caa31e66fb9 100644 (file)
@@ -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>