forked from OSchip/llvm-project
Doing some temporary touch-up on the gnu namespace attribute documentation, from a post-commit review comment.
Ideally, this content will eventually find a home with the rest of the attribute documentation. llvm-svn: 201736
This commit is contained in:
parent
40d6f29ad8
commit
68893db056
|
@ -1570,10 +1570,7 @@ Non-standard C++11 Attributes
|
||||||
Clang's non-standard C++11 attributes live in the ``clang`` attribute
|
Clang's non-standard C++11 attributes live in the ``clang`` attribute
|
||||||
namespace.
|
namespace.
|
||||||
|
|
||||||
``gnu::`` attributes
|
Clang supports GCC's ``gnu`` attribute namespace. All GCC attributes which
|
||||||
--------------------
|
|
||||||
|
|
||||||
Clang also supports GCC's ``gnu`` attribute namespace. All GCC attributes which
|
|
||||||
are accepted with the ``__attribute__((foo))`` syntax are also accepted as
|
are accepted with the ``__attribute__((foo))`` syntax are also accepted as
|
||||||
``[[gnu::foo]]``. This only extends to attributes which are specified by GCC
|
``[[gnu::foo]]``. This only extends to attributes which are specified by GCC
|
||||||
(see the list of `GCC function attributes
|
(see the list of `GCC function attributes
|
||||||
|
|
Loading…
Reference in New Issue