Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve access control diagnostics. Perform access control on member-pointer | John McCall | 2010-02-10 | 1 | -227/+401 |
| | | | | | | | conversions. Fix an access-control bug where privileges were not considered at intermediate points along the inheritance path. Prepare for friends. llvm-svn: 95775 | ||||
* | Mark dtors for parameter variables and eliminate some redundant type munging. | John McCall | 2010-02-02 | 1 | -7/+2 |
| | | | | llvm-svn: 95079 | ||||
* | Access control for implicit destructor calls. Diagnostic could be orders of | John McCall | 2010-02-02 | 1 | -0/+25 |
| | | | | | | magnitude clearer. llvm-svn: 95078 | ||||
* | Access checking for implicit user-defined conversions. | John McCall | 2010-02-01 | 1 | -1/+18 |
| | | | | llvm-svn: 94971 | ||||
* | Access checking for overloaded operators. | John McCall | 2010-01-28 | 1 | -0/+24 |
| | | | | llvm-svn: 94725 | ||||
* | Implement access-check delays for out-of-line member definitions | John McCall | 2010-01-27 | 1 | -2/+35 |
| | | | | | | using the same framework we use for deprecation warnings. llvm-svn: 94659 | ||||
* | Implement access control for overloaded functions. Suppress access control | John McCall | 2010-01-27 | 1 | -0/+42 |
| | | | | | | | diagnostics in "early" lookups, such as during typename checks and when building unresolved lookup expressions. llvm-svn: 94647 | ||||
* | Implement elementary access control. | John McCall | 2010-01-23 | 1 | -0/+99 |
| | | | | llvm-svn: 94268 | ||||
* | Set a member's access specifier even if it doesn't match the previous specifier. | John McCall | 2009-12-23 | 1 | -0/+2 |
| | | | | | | | | Prevents an assert on successive redeclarations. Fixed PR5573. llvm-svn: 91956 | ||||
* | Refactor the code that walks a C++ inheritance hierarchy, searching | Douglas Gregor | 2009-10-06 | 1 | -5/+6 |
| | | | | | | | | | for bases, members, overridden virtual methods, etc. The operations isDerivedFrom and lookupInBases are now provided by CXXRecordDecl, rather than by Sema, so that CodeGen and other clients can use them directly. llvm-svn: 83396 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -10/+9 |
| | | | | llvm-svn: 81346 | ||||
* | Enhance testing of overriding exception specs for inaccessible base exceptions. | Sebastian Redl | 2009-07-18 | 1 | -30/+43 |
| | | | | llvm-svn: 76317 | ||||
* | Add a new, more advanced CheckDerivedToBaseConversion that takes custom ↵ | Anders Carlsson | 2009-05-13 | 1 | -3/+5 |
| | | | | | | diagnostic IDs. llvm-svn: 71720 | ||||
* | Disable access control by default. It can be enabled with the ↵ | Anders Carlsson | 2009-05-13 | 1 | -0/+3 |
| | | | | | | -faccess-control option. When we have better support for it, we can enable it by default again. llvm-svn: 71706 | ||||
* | Revert Sebastian's rvalue patch (r67870) since it caused test failures in | Anders Carlsson | 2009-03-28 | 1 | -16/+4 |
| | | | | | | | | SemaCXX//overload-member-call.cpp SemaCXX//overloaded-operator.cpp SemaTemplate//instantiate-method.cpp llvm-svn: 67912 | ||||
* | Implement access checking for protected base classes. | Anders Carlsson | 2009-03-28 | 1 | -4/+16 |
| | | | | llvm-svn: 67887 | ||||
* | It is OK to cast to a private base class if the current member belongs to ↵ | Anders Carlsson | 2009-03-27 | 1 | -2/+7 |
| | | | | | | | | | | | 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 | ||||
* | Implement checking for base class access. Right now it's overly conservative ↵ | Anders Carlsson | 2009-03-27 | 1 | -0/+65 |
| | | | | | | but that will change. (Also, protected isn't implemented right now). llvm-svn: 67827 | ||||
* | Add a stubbed out CheckBaseClassAccess method. | Anders Carlsson | 2009-03-27 | 1 | -1/+11 |
| | | | | llvm-svn: 67821 | ||||
* | Move Sema::SetMemberAccessSpecifier to SemaAccess.cpp | Anders Carlsson | 2009-03-27 | 1 | -0/+27 |
| | | | | llvm-svn: 67820 | ||||
* | Add SemaAccess.cpp | Anders Carlsson | 2009-03-27 | 1 | -0/+12 |
llvm-svn: 67819 |