aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaAccess.cpp
AgeCommit message (Expand)Author
2010-10-20Access control polish: drop the note on the original declaration andJohn McCall
2010-10-16White-listing templated-scope friend decls is a good idea, but doing itJohn McCall
2010-10-12Handle dependent friends more explicitly and deal with the possibilityJohn McCall
2010-09-03Add a quick-and-dirty hack to give a better diagnostic for [class.protected]John McCall
2010-08-28That's not the right direction to compute notional accessibility in at all.John McCall
2010-08-28Fix build. Bad me, adding last-minute assertions.John McCall
2010-08-28When checking access control for an instance member access onJohn McCall
2010-08-27Propagate whether an id-expression is the immediate argument ofJohn McCall
2010-08-26Restore r112114 now that SmallVector<...,0> is safe.John McCall
2010-08-26Revert r112114, "Pull DelayedDiagnostic and AccessedEntity out into their ownDaniel Dunbar
2010-08-25Pull DelayedDiagnostic and AccessedEntity out into their own header.John McCall
2010-08-25Split out a header to hold APIs meant for the Sema implementation from Sema.h.John McCall
2010-08-20Revert r111609, which is failing its new test.Douglas Gregor
2010-08-20Detect efforts to declare a template member friend and explicitly ignore them.John McCall
2010-08-12Move Sema's headers into include/clang/Sema, renaming a few along the way.Douglas Gregor
2010-06-28Partial fix for PR7267 based on comments by John McCall on an earlier patch.Chandler Carruth
2010-06-07PR7245: Make binding a reference to a temporary without a usable copyJeffrey Yasskin
2010-05-28When we complain about a member being inaccessible due to a constraintDouglas Gregor
2010-05-04An access is permitted if the current template instantiates to the appropriateJohn McCall
2010-04-23Add another 'catch all' access diagnostic.Anders Carlsson
2010-04-22Use the naming class from the overloaded lookup when access-checking anJohn McCall
2010-04-22Re-land the patch that merges two diagnostics into one now that it passes sel...Anders Carlsson
2010-04-22Revert "Unify two diagnostics into one.", it breaks with an assertion failure...Daniel Dunbar
2010-04-22Unify two diagnostics into one.Anders Carlsson
2010-04-21Diagnose access to fields with private constructors.Anders Carlsson
2010-04-21Keep tack of whether a base in an InitializedEntity is an inherited virtual b...Anders Carlsson
2010-04-21Pass the InitializedEntity to Sema::CheckConstructorAccess and use it to repo...Anders Carlsson
2010-04-18Fix the access checking of function and function template argument types,Chandler Carruth
2010-04-07Check access for the implicit calls to destructors that occur when weJohn McCall
2010-04-06Implement the protected access restriction ([class.protected]), which requiresJohn McCall
2010-04-02Correct the calculation of access to more closely model the wording inJohn McCall
2010-03-30Fix an oversight with access control for address-of-function.John McCall
2010-03-30Propagate the "found declaration" (i.e. the using declaration instead ofJohn McCall
2010-03-29Optimize PartialDiagnostic's memory-allocation behavior by placing aDouglas Gregor
2010-03-27Accumulate all functions and classes that the effective context isJohn McCall
2010-03-26Reapply r99596 with a fix: link an instantiated friend function to itsJohn McCall
2010-03-26Apparently that didn't work. Reverting for now.John McCall
2010-03-26Properly instantiate and link in friend function templates.John McCall
2010-03-25Fix a very minor oversight in privileges-elevation: we were only consideringJohn McCall
2010-03-25Preserve type-source information in friend declarations.John McCall
2010-03-25Properly instantiate friend class template declarations and link them intoJohn McCall
2010-03-25Revert 99477 since it appears to be breaking the clang-x86_64-darwin10-fntBob Wilson
2010-03-25Properly instantiate and link in friend-class-template declarations.John McCall
2010-03-24Walk out of enums when determining effective context.John McCall
2010-03-24Support friend function specializations.John McCall
2010-03-24Implement a framework for the delay of arbitrary diagnostics withinJohn McCall
2010-03-19Remember the "found declaration" for an overload candidate, which is theJohn McCall
2010-03-18When elevating access along an inheritance path, initialize the computedJohn McCall
2010-03-18from code inspection, we were treating placement news with one argument asJohn McCall
2010-03-17Implement non-dependent friend functions and classes.John McCall