]> granicus.if.org Git - clang/commit
Ignore attributes on classes when calculating visibility for members
authorJohn McCall <rjmccall@apple.com>
Tue, 2 Nov 2010 01:45:15 +0000 (01:45 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 2 Nov 2010 01:45:15 +0000 (01:45 +0000)
commit3698748400478880d2a146ef9eaa111cd0e60522
treec6a1891ba380d770f86015c0ba29c10e46d4bc02
parent46d545e355a4fea2a201652c3c8bbf22a13187a6
Ignore attributes on classes when calculating visibility for members
with their own explicit visibility attributes.  Basically we only want to
apply a single visibility attribute from any particular ancestry.

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