mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 16:06:39 +08:00
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:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user