Lines Matching refs:getAccess
48 if (LexicalAS != AS_none && LexicalAS != PrevMemberDecl->getAccess()) { in SetMemberAccessSpecifier()
53 << PrevMemberDecl << PrevMemberDecl->getAccess(); in SetMemberAccessSpecifier()
59 MemberDecl->setAccess(PrevMemberDecl->getAccess()); in SetMemberAccessSpecifier()
1120 if (D->getAccess() == AS_protected && in diagnoseBadDirectAccess()
1165 << (unsigned) (D->getAccess() == AS_protected) in diagnoseBadDirectAccess()
1186 accessSoFar = D->getAccess(); in DiagnoseAccessPath()
1288 << (Entity.getAccess() == AS_protected) in DiagnoseBadAccess()
1322 if (Entity.getTargetDecl()->getAccess() == AS_private && in IsMicrosoftUsingDeclarationAccessBug()
1323 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug()
1324 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()
1342 AccessSpecifier UnprivilegedAccess = Entity.getAccess(); in IsAccessible()
1378 FinalAccess = Target->getAccess(); in IsAccessible()
1424 Entity.getAccess(), in DelayDependentAccess()
1436 assert(Entity.getAccess() != AS_public && "called for public access!"); in CheckEffectiveAccess()
1462 if (Entity.getAccess() == AS_public) in CheckAccess()
1539 AccessSpecifier Access = DD.getAccess(); in HandleDependentAccessCheck()
1580 Found.getAccess() == AS_public) in CheckUnresolvedLookupAccess()
1593 Found.getAccess() == AS_public) in CheckUnresolvedMemberAccess()
1613 if (Found.getAccess() == AS_public || !getLangOpts().AccessControl) in isMemberAccessibleForDeletion()
1639 AccessSpecifier Access = Dtor->getAccess(); in CheckDestructorAccess()
1659 if (!getLangOpts().AccessControl || Found.getAccess() == AS_public) in CheckConstructorAccess()
1706 Found.getAccess() == AS_public) in CheckConstructorAccess()
1734 DeclAccessPair::make(Constructor, Found.getAccess()), in CheckConstructorAccess()
1748 Found.getAccess() == AS_public) in CheckAllocationAccess()
1765 Found.getAccess() == AS_public) in CheckMemberAccess()
1779 Field.getAccess() == AS_public) in CheckStructuredBindingMemberAccess()
1793 if (!getLangOpts().AccessControl || Found.getAccess() == AS_public) in CheckMemberOperatorAccess()
1833 AccessSpecifier access = target->getAccess(); in CheckFriendAccess()
1862 Found.getAccess() == AS_none || in CheckAddressOfMemberAccess()
1863 Found.getAccess() == AS_public) in CheckAddressOfMemberAccess()
1917 if (I.getAccess() != AS_public) { in CheckLookupAccess()