diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-01-14 22:44:07 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-01-14 22:44:07 +0000 |
| commit | fdfc739277c9cf0b1b925bf86e94d1666083f382 (patch) | |
| tree | 3b0b46693acceb74ac261ea237bba1e569318405 | |
| parent | 74394f0dcf79f79409cd96dacc979f5a3e068a2d (diff) | |
| download | bcm5719-llvm-fdfc739277c9cf0b1b925bf86e94d1666083f382.tar.gz bcm5719-llvm-fdfc739277c9cf0b1b925bf86e94d1666083f382.zip | |
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
| -rw-r--r-- | clang/docs/InternalsManual.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/docs/InternalsManual.rst b/clang/docs/InternalsManual.rst index 3a914170e22..59dd2f98d6d 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). |

