forked from OSchip/llvm-project
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:
parent
74394f0dcf
commit
fdfc739277
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue