Author: gribozavr
Date: Mon Jan 14 16:44:07 2013
New Revision: 172487
URL: http://llvm.org/viewvc/llvm-project?rev=172487&view=rev
Log:
Document that we should recognize attributes supported by gcc with C++11
[[gnu::...]] syntax
Pointed out by Richard Smith on the mailing list.
Modified:
cfe/trunk/docs/InternalsManual.rst
Modified: cfe/trunk/docs/InternalsManual.rst
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/InternalsManual.rst?rev=172487&r1=172486&r2=172487&view=diff
==============================================================================
--- cfe/trunk/docs/InternalsManual.rst (original)
+++ cfe/trunk/docs/InternalsManual.rst Mon Jan 14 16:44:07 2013
@@ -1601,6 +1601,8 @@
``[[]]`` 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).
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits