aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver
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
commitd320ffc0f58df23eb0e698c79105a68de9c0e37a (patch)
treee443ddada3b7b632945e96771d8a4f8a61fc07e6 /lib/Driver
parent4b044c6bc71d1fdce8998af09cf08b026fdd2189 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver')
0 files changed, 0 insertions, 0 deletions