commit | f7a052732c2b6c82f74708038f75fa92c9b4dba0 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Jan 14 07:53:01 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Jan 14 07:53:01 2013 +0000 |
tree | 9a925c78da81ee4900e67300b509194f5a10b63b | |
parent | efaddc0705cfc7c36b76da9ebc33b69843e31996 [diff] |
Accept [[gnu::*]] for all __attribute__((*))s which are: 1) Supported by Clang, and 2) Supported by GCC, and 3) Documented in GCC's manual. g++ allows its C++11-style attributes to appertain only to the entity being declared, and never to a type (even for a type attribute), so we do the same. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172382 91177308-0d34-0410-b5e6-96231b3b80d8