diff options
author | John McCall <rjmccall@apple.com> | 2010-10-29 07:49:41 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-10-29 07:49:41 +0000 |
commit | 87a4ed905e2febe64021dcdfcdc7f00b27e92f32 (patch) | |
tree | 3fd087ba5308fab6b1ccdfb03a009f779c2b0bd6 /lib/CodeGen/CGException.cpp | |
parent | 4ba72a0b28135209c435630682febe1f854ccfa6 (diff) |
Apply visibility in IR gen to variables that are merely declared
and never defined. We were previously emitting these with default
visibility unless they were declared with private_extern.
Ignore global visibility settings when computing visibility for
a declaration's context, and key several conditions on whether a
visibility attribute exists anywhere in the hierarchy as opposed
to whether it exists at the current level.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGException.cpp')
0 files changed, 0 insertions, 0 deletions