summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJean-Daniel Dupas <devlists@shadowlab.org>2012-03-01 14:53:16 +0000
committerJean-Daniel Dupas <devlists@shadowlab.org>2012-03-01 14:53:16 +0000
commit8a5e7fdd2c7d3f46685396e13ed76798f4573c02 (patch)
tree84870ee655c72cb09bdbc8838003b74f946d7951 /docs
parentf9b6f2c95486d13c0906730121fb2d4e7353effa (diff)
Implement double underscore names support in __has_attribute
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LanguageExtensions.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html
index be26d62414..23aa4fe9b9 100644
--- a/docs/LanguageExtensions.html
+++ b/docs/LanguageExtensions.html
@@ -257,6 +257,11 @@ can be used like this:</p>
</pre>
</blockquote>
+<p>The attribute 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>
+
<!-- ======================================================================= -->
<h2 id="has_include">Include File Checking Macros</h2>
<!-- ======================================================================= -->