aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-01-15 02:48:13 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-01-15 02:48:13 +0000
commit0faa2b1ae45d20c8287a329d505373ae062153ca (patch)
tree41662c41ca0bbac588448dd45c8ab1516fc0d6c4 /clang/lib/Frontend/CompilerInvocation.cpp
parent184e981111d74fe650b7ea4506adc9bc356273ee (diff)
downloadllvm-0faa2b1ae45d20c8287a329d505373ae062153ca.zip
llvm-0faa2b1ae45d20c8287a329d505373ae062153ca.tar.gz
llvm-0faa2b1ae45d20c8287a329d505373ae062153ca.tar.bz2
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. llvm-svn: 172504
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions