diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-15 02:48:13 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-15 02:48:13 +0000 |
commit | 5c52166525f8714c3e3a979b156ec23426947fd3 (patch) | |
tree | ffda5f1b208ae7962ffacd1195be22e221c3aa00 /lib/Sema/MultiplexExternalSemaSource.cpp | |
parent | 08e79d2f075d1326ff7a849fd1bc88dadf99d574 (diff) |
Fix behavior of [[gnu::]] function attributes. Per g++'s behavior, these
attributes appertain to a declaration, even though they would be much more
naturally modelled as appertaining to a function type. Previously, we would
try to distribute them from the declarator to the function type, then
reject them for being at an incorrect location. Now, we just distribute them
as far as the declarator; the existing attribute handling code can actually
apply them there just fine.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/MultiplexExternalSemaSource.cpp')
0 files changed, 0 insertions, 0 deletions