Home
last modified time | relevance | path

Searched refs:SDecl (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Sema/
DSemaObjCProperty.cpp821 if (ObjCInterfaceDecl *SDecl = ClassDecl->getSuperClass()) in DiagnosePropertyMismatchDeclInProtocols() local
822 while (SDecl) { in DiagnosePropertyMismatchDeclInProtocols()
823 for (const auto *PI : SDecl->all_referenced_protocols()) { in DiagnosePropertyMismatchDeclInProtocols()
827 SDecl = SDecl->getSuperClass(); in DiagnosePropertyMismatchDeclInProtocols()
1605 if (ObjCInterfaceDecl *SDecl = CDecl->getSuperClass()) { in CollectSuperClassPropertyImplementations() local
1607 while (SDecl) { in CollectSuperClassPropertyImplementations()
1608 SDecl->collectPropertiesToImplement(PropMap, PO); in CollectSuperClassPropertyImplementations()
1609 SDecl = SDecl->getSuperClass(); in CollectSuperClassPropertyImplementations()
1654 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty() local
1655 if (!SuperClassImplementsGetter && SDecl->getInstanceMethod(Prop->getGetterName())) in SuperClassImplementsProperty()
[all …]
DSemaDeclObjC.cpp1908 ObjCInterfaceDecl *SDecl = nullptr; in ActOnStartClassImplementation() local
1918 SDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); in ActOnStartClassImplementation()
1919 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation()
1920 SDecl = nullptr; in ActOnStartClassImplementation()
1921 if (!SDecl) in ActOnStartClassImplementation()
1924 else if (IDecl && !declaresSameEntity(IDecl->getSuperClass(), SDecl)) { in ActOnStartClassImplementation()
1928 << SDecl->getDeclName(); in ActOnStartClassImplementation()
1929 Diag(SDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
1945 if (SDecl) { in ActOnStartClassImplementation()
1947 Context.getObjCInterfaceType(SDecl), in ActOnStartClassImplementation()
[all …]
DSemaExprMember.cpp1549 if (Decl *SDecl = FindGetterSetterNameDecl(OPT, in LookupMemberExpr() local
1552 SMD = dyn_cast<ObjCMethodDecl>(SDecl); in LookupMemberExpr()