[cfe-commits] r151445 - in /cfe/trunk: docs/LanguageExtensions.html lib/Lex/PPMacroExpansion.cpp lib/Sema/AttributeList.cpp test/Lexer/has_extension.c test/Preprocessor/feature_tests.c

Jonathan Sauer jonathan.sauer at gmx.de
Wed Feb 29 08:21:20 PST 2012


Hello,

>> +<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>
> 
> `always_inline` is an attribute name, and so it would be better
> to replace it with a feature name such as `cxx_rvalue_references`.

D'oh! Thank you for your fix!


Jonathan





More information about the cfe-commits mailing list