summaryrefslogtreecommitdiffstats
path: root/docs/InternalsManual.rst
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-14 22:44:07 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-14 22:44:07 +0000
commit714911f092edeb8b329932f457ef0875725d1c07 (patch)
tree8616679ef0ed9497d13dbae0cc512ae23cb5ad44 /docs/InternalsManual.rst
parent419563768ef4929a622d7c2b066856e82901bb91 (diff)
Document that we should recognize attributes supported by gcc with C++11
[[gnu::...]] syntax Pointed out by Richard Smith on the mailing list. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/InternalsManual.rst')
-rw-r--r--docs/InternalsManual.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/InternalsManual.rst b/docs/InternalsManual.rst
index 3a914170e2..59dd2f98d6 100644
--- a/docs/InternalsManual.rst
+++ b/docs/InternalsManual.rst
@@ -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).