aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul_robinson@playstation.sony.com>2015-01-13 18:34:56 +0000
committerPaul Robinson <paul_robinson@playstation.sony.com>2015-01-13 18:34:56 +0000
commit080b1f3055b1f60588deab6839c1e87647b3c284 (patch)
tree775f011f0755f0d456ade37ceb43a27b80a6300e /llvm/lib/Support/CommandLine.cpp
parentdc0a11c21fd799c9c22d8f9d274171a31ba24140 (diff)
downloadllvm-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