]> granicus.if.org Git - clang/commit
An access is permitted if the current template instantiates to the appropriate
authorJohn McCall <rjmccall@apple.com>
Tue, 4 May 2010 05:11:27 +0000 (05:11 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 4 May 2010 05:11:27 +0000 (05:11 +0000)
commit01ebd9d1883e82c4188325900a4eb9c1e16353bb
treebe62d9b946d1950c07ae9e62f2798d3e098449b6
parent3d6c1782c4fc2ed3e6a924c15042edb1f56fee36
An access is permitted if the current template instantiates to the appropriate
class.  Add some conservative support for the idea.  Fixes PR 7024.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102999 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaAccess.cpp
test/CXX/class.access/p4.cpp