aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/DeclBase.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-03-27 19:01:12 +0000
committerAnders Carlsson <andersca@mac.com>2009-03-27 19:01:12 +0000
commitf8080a39e6e576a820dadb7a4e0bcf5e7c8ffa35 (patch)
treec5450fcab0b1a12085e22b318ece7eef4eba29bc /lib/AST/DeclBase.cpp
parent77bd57c4ac7cfdef0b263784ba227ba399e9d69b (diff)
It is OK to cast to a private base class if the current member belongs to the class that the private base class is a base of:
class A {}; class B : private A { void f(B *b) { A* a = b; } }; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
0 files changed, 0 insertions, 0 deletions