From fdfc739277c9cf0b1b925bf86e94d1666083f382 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Mon, 14 Jan 2013 22:44:07 +0000 Subject: [PATCH] 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 --- clang/docs/InternalsManual.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/docs/InternalsManual.rst b/clang/docs/InternalsManual.rst index 3a914170e22a..59dd2f98d6d6 100644 --- a/clang/docs/InternalsManual.rst +++ b/clang/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).