summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaAccess.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve access control diagnostics. Perform access control on member-pointerJohn McCall2010-02-101-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 McCall2010-02-021-7/+2
| | | | llvm-svn: 95079
* Access control for implicit destructor calls. Diagnostic could be orders ofJohn McCall2010-02-021-0/+25
| | | | | | magnitude clearer. llvm-svn: 95078
* Access checking for implicit user-defined conversions.John McCall2010-02-011-1/+18
| | | | llvm-svn: 94971
* Access checking for overloaded operators.John McCall2010-01-281-0/+24
| | | | llvm-svn: 94725
* Implement access-check delays for out-of-line member definitionsJohn McCall2010-01-271-2/+35
| | | | | | using the same framework we use for deprecation warnings. llvm-svn: 94659
* Implement access control for overloaded functions. Suppress access controlJohn McCall2010-01-271-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 McCall2010-01-231-0/+99
| | | | llvm-svn: 94268
* Set a member's access specifier even if it doesn't match the previous specifier.John McCall2009-12-231-0/+2
| | | | | | | | Prevents an assert on successive redeclarations. Fixed PR5573. llvm-svn: 91956
* Refactor the code that walks a C++ inheritance hierarchy, searchingDouglas Gregor2009-10-061-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 Stump2009-09-091-10/+9
| | | | llvm-svn: 81346
* Enhance testing of overriding exception specs for inaccessible base exceptions.Sebastian Redl2009-07-181-30/+43
| | | | llvm-svn: 76317
* Add a new, more advanced CheckDerivedToBaseConversion that takes custom ↵Anders Carlsson2009-05-131-3/+5
| | | | | | diagnostic IDs. llvm-svn: 71720
* Disable access control by default. It can be enabled with the ↵Anders Carlsson2009-05-131-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 inAnders Carlsson2009-03-281-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 Carlsson2009-03-281-4/+16
| | | | llvm-svn: 67887
* It is OK to cast to a private base class if the current member belongs to ↵Anders Carlsson2009-03-271-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 Carlsson2009-03-271-0/+65
| | | | | | but that will change. (Also, protected isn't implemented right now). llvm-svn: 67827
* Add a stubbed out CheckBaseClassAccess method.Anders Carlsson2009-03-271-1/+11
| | | | llvm-svn: 67821
* Move Sema::SetMemberAccessSpecifier to SemaAccess.cppAnders Carlsson2009-03-271-0/+27
| | | | llvm-svn: 67820
* Add SemaAccess.cppAnders Carlsson2009-03-271-0/+12
llvm-svn: 67819
OpenPOWER on IntegriCloud