Lines Matching defs:Decl
1122 Decl *ImmediateChild;
1129 ImmediateChild = cast<Decl>(DC);
1468 void Sema::HandleDelayedAccessCheck(DelayedDiagnostic &DD, Decl *D) {
1496 Decl *NamingD = FindInstantiatedDecl(Loc, DD.getAccessNamingClass(),
1499 Decl *TargetD = FindInstantiatedDecl(Loc, DD.getAccessTarget(),
1847 /// Checks access to Decl from the given class. The check will take access
1850 /// \param Decl the declaration to check if it can be accessed
1852 /// \return true if the Decl is accessible from the Class, false otherwise.
1853 bool Sema::IsSimplyAccessible(NamedDecl *Decl, DeclContext *Ctx) {
1855 if (!Decl->isCXXClassMember())
1860 DeclAccessPair::make(Decl, Decl->getAccess()),
1869 if (ObjCIvarDecl *Ivar = dyn_cast<ObjCIvarDecl>(Decl)) {