]> granicus.if.org Git - clang/commitdiff
Correct an example of a feature name to actually use a feature name rather
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 1 Mar 2012 02:12:07 +0000 (02:12 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 1 Mar 2012 02:12:07 +0000 (02:12 +0000)
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

docs/LanguageExtensions.html

index 8a631e90be0637dd6b9636e5e8d593cc276ff72f..be26d62414763eb100f3a3d32463aca9ce8b8188 100644 (file)
@@ -230,8 +230,8 @@ not related to the language standard, such as e.g.
 
 <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>
+with the same name. For instance, <code>__cxx_rvalue_references__</code> can be
+used instead of <code>cxx_rvalue_references</code>.</p>
 
 <!-- ======================================================================= -->
 <h3><a name="__has_attribute">__has_attribute</a></h3>