summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-10-29 07:49:41 +0000
committerJohn McCall <rjmccall@apple.com>2010-10-29 07:49:41 +0000
commit87a4ed905e2febe64021dcdfcdc7f00b27e92f32 (patch)
tree3fd087ba5308fab6b1ccdfb03a009f779c2b0bd6 /lib/CodeGen/CodeGenFunction.cpp
parent4ba72a0b28135209c435630682febe1f854ccfa6 (diff)
downloadclang-87a4ed905e2febe64021dcdfcdc7f00b27e92f32.tar.gz
clang-87a4ed905e2febe64021dcdfcdc7f00b27e92f32.tar.bz2
clang-87a4ed905e2febe64021dcdfcdc7f00b27e92f32.tar.xz
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/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions