diff options
author | Anders Carlsson <andersca@mac.com> | 2009-03-27 19:01:12 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-03-27 19:01:12 +0000 |
commit | af06b977f9aaae7440032d6754729365d11f00ec (patch) | |
tree | b0133aa480410ad0ac84ff406a26d5004dca2446 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 93d35acb287038a9585e16aa72711e24112a4dc3 (diff) | |
download | bcm5719-llvm-af06b977f9aaae7440032d6754729365d11f00ec.tar.gz bcm5719-llvm-af06b977f9aaae7440032d6754729365d11f00ec.zip |
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; }
};
llvm-svn: 67860
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions