[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    Re: [cfe-commits] r151445 - in /cfe/trunk: docs/LanguageExtensions.html lib/Lex/PPMacroExpansion.cpp
From:       Michel Morin <mimomorin () gmail ! com>
Date:       2012-02-29 23:45:13
Message-ID: CAO=jbbqCfKgB9ZcNsubkw5JmZzWxns_OakFvRUPcyQwVKMjG=Q () mail ! gmail ! com
[Download RAW message or body]

> A patch attached. (This patch also adds the description on
> attribute names with double underscores.)

Ah, attribute names with double underscores are not allowed in __has_attribute!
I removed the description and updated a patch.

Michel

["doc_fix.patch" (application/octet-stream)]

Index: docs/LanguageExtensions.html
===================================================================
--- docs/LanguageExtensions.html	(revision 151709)
+++ docs/LanguageExtensions.html	(working copy)
@@ -230,8 +230,8 @@
 
 <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>


_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic