Document that we should recognize attributes supported by gcc with C++11

[[gnu::...]] syntax

Pointed out by Richard Smith on the mailing list.

llvm-svn: 172487
This commit is contained in:
Dmitri Gribenko 2013-01-14 22:44:07 +00:00
parent 74394f0dcf
commit fdfc739277
1 changed files with 2 additions and 0 deletions

View File

@ -1601,6 +1601,8 @@ subsequent declarations of the same name.
``[[]]`` C++11 syntax, you have to define a list of ``Namespaces``, which will
let users write ``[[namespace::spelling]]``. Using the empty string for a
namespace will allow users to write just the spelling with no "``::``".
Attributes which g++-4.8 accepts should also have a
``CXX11<"gnu", "spelling">`` spelling.
``Subjects`` restricts what kinds of AST node to which this attribute can
appertain (roughly, attach).