summaryrefslogtreecommitdiffstats
path: root/clang/docs/LanguageExtensions.html
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
commit71d7463797e2204eb2716a223e83a0ec59f05f89 (patch)
tree3d0121f5ceee5ac1a00a820064cfc80fee62a998 /clang/docs/LanguageExtensions.html
parent51540f9377f6b4cbb97fd31ff8d030c1ba70c18e (diff)
downloadbcm5719-llvm-71d7463797e2204eb2716a223e83a0ec59f05f89.tar.gz
bcm5719-llvm-71d7463797e2204eb2716a223e83a0ec59f05f89.zip
Add __has_feature(cxx_exceptions) and __has_feature(cxx_rtti) to table of contents.
llvm-svn: 90389
Diffstat (limited to 'clang/docs/LanguageExtensions.html')
-rw-r--r--clang/docs/LanguageExtensions.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/clang/docs/LanguageExtensions.html b/clang/docs/LanguageExtensions.html
index a8707f3f82d..edc70377a42 100644
--- a/clang/docs/LanguageExtensions.html
+++ b/clang/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>
OpenPOWER on IntegriCloud