Mike Stump
|
11289f4280
|
Remove tabs, and whitespace cleanups.
llvm-svn: 81346
|
2009-09-09 15:08:12 +00:00 |
Sebastian Redl
|
e644e19671
|
Enhance testing of overriding exception specs for inaccessible base exceptions.
llvm-svn: 76317
|
2009-07-18 14:32:15 +00:00 |
Anders Carlsson
|
49d216db15
|
Add a new, more advanced CheckDerivedToBaseConversion that takes custom diagnostic IDs.
llvm-svn: 71720
|
2009-05-13 21:11:42 +00:00 |
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 |
Anders Carlsson
|
4742a9c19a
|
Add a stubbed out CheckBaseClassAccess method.
llvm-svn: 67821
|
2009-03-27 05:05:05 +00:00 |
Anders Carlsson
|
17941120d6
|
Move Sema::SetMemberAccessSpecifier to SemaAccess.cpp
llvm-svn: 67820
|
2009-03-27 04:54:36 +00:00 |
Anders Carlsson
|
8ed6f3645b
|
Add SemaAccess.cpp
llvm-svn: 67819
|
2009-03-27 04:43:36 +00:00 |