summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-07-15 01:33:40 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-07-15 01:33:40 +0000
commitfaf556b7456b1b8044b24cb9c60198ccae70ba65 (patch)
tree7c862cf4a40ecebd0c49017cb04915cc98531d9f /clang/lib/Driver/Tools.cpp
parenta5bba70c9c7174837ed4f1fb828e7c1d8f078572 (diff)
downloadbcm5719-llvm-faf556b7456b1b8044b24cb9c60198ccae70ba65.tar.gz
bcm5719-llvm-faf556b7456b1b8044b24cb9c60198ccae70ba65.zip
Without this patch clang warns on
struct __attribute__((visibility("hidden"))) zed { }; struct __attribute__((visibility("hidden"))) zed; Which is a bit silly and got a lot noisier now that we correctly handle visibility pragmas. This patch fixes that and also has some extra quality improvements: * We now produce an error instead of a warning for struct __attribute__((visibility("hidden"))) zed { }; struct __attribute__((visibility("default"))) zed; * The "after definition" warning now points to the new attribute that is ignored instead of pointing to the declaration. llvm-svn: 160227
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud