diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-25 10:41:10 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-25 10:41:10 +0000 |
commit | 5297d71e8c85f9b04dc31c690e91c6a2f7eddb90 (patch) | |
tree | fe2bb53479b6b942a2beac20e8251e83fe29ce99 /docs/LanguageExtensions.html | |
parent | d390de9c6312684c5e5b333f434199e193c7467a (diff) |
Accept __has_feature(__feature__) as a synonym for __has_feature(feature) (and
likewise for __has_extension). Patch by Jonathan Sauer!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LanguageExtensions.html')
-rw-r--r-- | docs/LanguageExtensions.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index 2471c60776..cdd197956f 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -228,6 +228,11 @@ not related to the language standard, such as e.g. <p>The feature tag is described along with the language feature below.</p> +<p>The feature name or extension name can also be specified with a preceding and +following <code>__</code> (double underscore) to avoid interference from a macro +with the same name. For instance, <code>__always_inline__</code> can be used +instead of <code>always_inline</code>.</p> + <!-- ======================================================================= --> <h3><a name="__has_attribute">__has_attribute</a></h3> <!-- ======================================================================= --> |