Lines Matching refs:decl
37 /// Returns true on error (when the previous member decl access specifier
38 /// is different from the new member decl access specifier).
569 assert(isa<FunctionDecl>(Friend) && "unknown friend decl kind");
1131 Decl *ImmediateChild;
1138 ImmediateChild = cast<Decl>(DC);
1479 void Sema::HandleDelayedAccessCheck(DelayedDiagnostic &DD, Decl *D) {
1506 Decl *NamingD = FindInstantiatedDecl(Loc, DD.getAccessNamingClass(),
1509 Decl *TargetD = FindInstantiatedDecl(Loc, DD.getAccessTarget(),
1576 bool Sema::isSpecialMemberAccessibleForDeletion(CXXMethodDecl *decl,
1582 AccessTarget entity(Context, AccessTarget::Member, decl->getParent(),
1583 DeclAccessPair::make(decl, access), objectType);
1863 /// Checks access to Decl from the given class. The check will take access
1866 /// \param Decl the declaration to check if it can be accessed
1868 /// \return true if the Decl is accessible from the Class, false otherwise.
1869 bool Sema::IsSimplyAccessible(NamedDecl *Decl, DeclContext *Ctx) {
1871 if (!Decl->isCXXClassMember())
1876 DeclAccessPair::make(Decl, Decl->getAccess()),
1885 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Decl)) {