Home
last modified time | relevance | path

Searched refs:SDecl (Results 1 – 6 of 6) 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()
/external/llvm-project/clang/lib/Sema/
DSemaObjCProperty.cpp857 if (ObjCInterfaceDecl *SDecl = ClassDecl->getSuperClass()) { in SelectPropertyForSynthesisFromProtocols() local
858 while (SDecl) { in SelectPropertyForSynthesisFromProtocols()
859 for (const auto *PI : SDecl->all_referenced_protocols()) { in SelectPropertyForSynthesisFromProtocols()
864 SDecl = SDecl->getSuperClass(); in SelectPropertyForSynthesisFromProtocols()
1833 if (ObjCInterfaceDecl *SDecl = CDecl->getSuperClass()) { in CollectSuperClassPropertyImplementations() local
1835 while (SDecl) { in CollectSuperClassPropertyImplementations()
1836 SDecl->collectPropertiesToImplement(PropMap, PO); in CollectSuperClassPropertyImplementations()
1837 SDecl = SDecl->getSuperClass(); in CollectSuperClassPropertyImplementations()
1882 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty() local
1883 if (!SuperClassImplementsGetter && SDecl->getInstanceMethod(Prop->getGetterName())) in SuperClassImplementsProperty()
[all …]
DSemaDeclObjC.cpp2003 ObjCInterfaceDecl *SDecl = nullptr; in ActOnStartClassImplementation() local
2013 SDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); in ActOnStartClassImplementation()
2014 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation()
2015 SDecl = nullptr; in ActOnStartClassImplementation()
2016 if (!SDecl) in ActOnStartClassImplementation()
2019 else if (IDecl && !declaresSameEntity(IDecl->getSuperClass(), SDecl)) { in ActOnStartClassImplementation()
2023 << SDecl->getDeclName(); in ActOnStartClassImplementation()
2024 Diag(SDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
2041 if (SDecl) { in ActOnStartClassImplementation()
2043 Context.getObjCInterfaceType(SDecl), in ActOnStartClassImplementation()
[all …]
DSemaExprMember.cpp1513 if (Decl *SDecl = FindGetterSetterNameDecl(OPT, in LookupMemberExpr() local
1516 SMD = dyn_cast<ObjCMethodDecl>(SDecl); in LookupMemberExpr()