diff options
author | John McCall <rjmccall@apple.com> | 2010-10-26 04:59:26 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-10-26 04:59:26 +0000 |
commit | ac65c6208d48b0f9b4661c30c28997a280ac5ba6 (patch) | |
tree | ead6d222141d69c1252b787ec497789c559be297 /lib/CodeGen/CodeGenModule.cpp | |
parent | 1235b0ebb16618bf41a9e7234d5e2690faf97d37 (diff) |
A couple of tweaks to the visibility rules:
- tags with C linkage should ignore visibility=hidden
- functions and variables with explicit visibility attributes should
ignore the linkage of their types
Either of these should be sufficient to fix PR8457.
Also, FileCheck-ize a test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions