From: Dmitri Gribenko Date: Mon, 14 Jan 2013 22:44:07 +0000 (+0000) Subject: Document that we should recognize attributes supported by gcc with C++11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=714911f092edeb8b329932f457ef0875725d1c07;p=clang 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 --- 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).