aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-10-29 22:22:43 +0000
committerJohn McCall <rjmccall@apple.com>2010-10-29 22:22:43 +0000
commit110e8e56af30363072c140285961592b0107f789 (patch)
treec8649da41998db0ac401c3e8872361feb6929fcf /lib/CodeGen/CodeGenFunction.cpp
parentfa5fa97a1428e95540cbe95138e781a59bff7e39 (diff)
Restore r117644, this time properly ignoring -fvisibility and type visibility
for namespace-scope variable declarations. 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@117729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions