summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaAccess.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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