]> granicus.if.org Git - clang/commit
Don't consider visibility from template parameter lists if we're
authorJohn McCall <rjmccall@apple.com>
Fri, 4 Mar 2011 10:39:25 +0000 (10:39 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 4 Mar 2011 10:39:25 +0000 (10:39 +0000)
commit1a0918ade0a3490c7aff243f9cd519156dfcb0bd
tree49bd1c63937db53c9cd432d0be12933bd0687721
parentfb4eb9f56c1b7bb4fb632127a5e2d253b65758bf
Don't consider visibility from template parameter lists if we're
computing for a nested decl with explicit visibility.  This is all part
of the general philosophy of explicit visibility attributes, where
any information that was obviously available at the attribute site
should probably be ignored.  Fixes PR9371.

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