From: Aaron Ballman Date: Wed, 19 Feb 2014 23:21:40 +0000 (+0000) Subject: Doing some temporary touch-up on the gnu namespace attribute documentation, from... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=392b0bcc80abc88d917bb41342e540ed336d95fb;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201736 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index be80a7640f..2c0c7d2b3d 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -1570,10 +1570,7 @@ Non-standard C++11 Attributes Clang's non-standard C++11 attributes live in the ``clang`` attribute namespace. -``gnu::`` attributes --------------------- - -Clang also supports GCC's ``gnu`` attribute namespace. All GCC attributes which +Clang supports GCC's ``gnu`` attribute namespace. All GCC attributes which are accepted with the ``__attribute__((foo))`` syntax are also accepted as ``[[gnu::foo]]``. This only extends to attributes which are specified by GCC (see the list of `GCC function attributes