diff options
author | Paul Robinson <paul_robinson@playstation.sony.com> | 2015-01-13 18:34:56 +0000 |
---|---|---|
committer | Paul Robinson <paul_robinson@playstation.sony.com> | 2015-01-13 18:34:56 +0000 |
commit | 080b1f3055b1f60588deab6839c1e87647b3c284 (patch) | |
tree | 775f011f0755f0d456ade37ceb43a27b80a6300e /llvm/lib/Support/CommandLine.cpp | |
parent | dc0a11c21fd799c9c22d8f9d274171a31ba24140 (diff) | |
download | llvm-080b1f3055b1f60588deab6839c1e87647b3c284.zip llvm-080b1f3055b1f60588deab6839c1e87647b3c284.tar.gz llvm-080b1f3055b1f60588deab6839c1e87647b3c284.tar.bz2 |
When attribute 'optnone' appears on the same declaration with a
conflicting attribute, warn about the conflict and pick a "winning"
attribute to preserve, instead of emitting an error. This matches the
behavior when the conflicting attributes are on different declarations.
Along the way I discovered that conflicts involving __forceinline were
reported as 'always_inline' (alternate spelling, same attribute) so
fixed that up to report the attribute as spelled in the source.
llvm-svn: 225813
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions