]> granicus.if.org Git - clang/commitdiff
Document that we should recognize attributes supported by gcc with C++11
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 14 Jan 2013 22:44:07 +0000 (22:44 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 14 Jan 2013 22:44:07 +0000 (22:44 +0000)
[[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

docs/InternalsManual.rst

index 3a914170e22aa0d785572ec8020bc7d72afad479..59dd2f98d6d6ebaf2cc43570bf87d58e3a6cbeed 100644 (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).