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 | 4af6bf1fdcdbb86c9b9258d37b3e8f6487c094ad (patch) | |
tree | 4a543363d3fe76ea4a74c1f318a6af959967fa46 /clang/lib/CodeGen/CGException.cpp | |
parent | c2d549e007a89230c459681227da82024a1c5e6e (diff) | |
download | bcm5719-llvm-4af6bf1fdcdbb86c9b9258d37b3e8f6487c094ad.tar.gz bcm5719-llvm-4af6bf1fdcdbb86c9b9258d37b3e8f6487c094ad.zip |
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.
llvm-svn: 117644
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
0 files changed, 0 insertions, 0 deletions