From: Ted Kremenek Date: Thu, 3 Dec 2009 02:05:57 +0000 (+0000) Subject: Add __has_feature(cxx_exceptions) and __has_feature(cxx_rtti) to table of contents. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22c3410223b4a423b4e9cb3b300e043b1607b6b4;p=clang 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 --- 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 {
  • Builtin Macros
  • Vectors and Extended Vectors
  • Checks for Standard Language Features
  • +
  • Blocks
  • Function Overloading in C
  • Builtin Functions @@ -201,15 +205,15 @@ href="#__builtin_shufflevector">__builtin_shufflevector.

    The __has_feature macro can be used to query if certain standard language features are enabled. Those features are listed here.

    -

    C++ exceptions

    +

    C++ exceptions

    -Use __has_feature(cxx_exceptions) to determine if C++ exceptions have been enabled. For -example, compiling code with -fexceptions enables C++ exceptions. +

    Use __has_feature(cxx_exceptions) to determine if C++ exceptions have been enabled. For +example, compiling code with -fexceptions enables C++ exceptions.

    -

    C++ RTTI

    +

    C++ RTTI

    -Use __has_feature(cxx_rtt) to determine if C++ RTTI has been enabled. For example, -compiling code with -fno-rtti disables the use of RTTI. +

    Use __has_feature(cxx_rtt) to determine if C++ RTTI has been enabled. For example, +compiling code with -fno-rtti disables the use of RTTI.

    Blocks