Anders Carlsson
|
5879fbd933
|
Disable access control by default. It can be enabled with the -faccess-control option. When we have better support for it, we can enable it by default again.
llvm-svn: 71706
|
2009-05-13 19:49:53 +00:00 |
Anders Carlsson
|
72f307a26e
|
Revert Sebastian's rvalue patch (r67870) since it caused test failures in
SemaCXX//overload-member-call.cpp
SemaCXX//overloaded-operator.cpp
SemaTemplate//instantiate-method.cpp
llvm-svn: 67912
|
2009-03-28 04:17:27 +00:00 |
Anders Carlsson
|
0cb4cc106c
|
Implement access checking for protected base classes.
llvm-svn: 67887
|
2009-03-28 01:09:05 +00:00 |
Anders Carlsson
|
af06b977f9
|
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
|
2009-03-27 19:01:12 +00:00 |
Anders Carlsson
|
733d77f1b4
|
Implement checking for base class access. Right now it's overly conservative but that will change. (Also, protected isn't implemented right now).
llvm-svn: 67827
|
2009-03-27 06:03:27 +00:00 |