]> granicus.if.org Git - clang/commit
GCC faithfully calculates visibility for variables independently of
authorJohn McCall <rjmccall@apple.com>
Sat, 30 Oct 2010 09:18:49 +0000 (09:18 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 30 Oct 2010 09:18:49 +0000 (09:18 +0000)
commitee30102a9ef32cdbf0afe0e4c07a53d265a18f98
tree9096eabecf5823d218bdea2988971ad2bd4cc727
parentd99d0e8276dd320deaee02824602bc335ea1c770
GCC faithfully calculates visibility for variables independently of
whether it's a declaration or not, then ignores that information for
declarations unless it was explicitly given.  It's not totally clear
how that should be mapped into a sane system, but make an effort.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117780 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
test/CodeGenCXX/visibility.cpp