From: Richard Smith Date: Thu, 1 Mar 2012 02:12:07 +0000 (+0000) Subject: Correct an example of a feature name to actually use a feature name rather X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d9f4c16ad9ece766870752c0647187e0b5481ba;p=clang Correct an example of a feature name to actually use a feature name rather than an attribute name. Patch by Michel Morin! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151791 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index 8a631e90be..be26d62414 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -230,8 +230,8 @@ not related to the language standard, such as e.g.

The feature name or extension name can also be specified with a preceding and following __ (double underscore) to avoid interference from a macro -with the same name. For instance, __always_inline__ can be used -instead of always_inline.

+with the same name. For instance, __cxx_rvalue_references__ can be +used instead of cxx_rvalue_references.

__has_attribute