Skip to content
Commit af06b977 authored by Anders Carlsson's avatar Anders Carlsson
Browse files

It is OK to cast to a private base class if the current member belongs to the...

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
parent 93d35acb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment