Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp850 if (ObjCInterfaceDecl *SDecl = ClassDecl->getSuperClass()) { in SelectPropertyForSynthesisFromProtocols() local
851 while (SDecl) { in SelectPropertyForSynthesisFromProtocols()
852 for (const auto *PI : SDecl->all_referenced_protocols()) { in SelectPropertyForSynthesisFromProtocols()
857 SDecl = SDecl->getSuperClass(); in SelectPropertyForSynthesisFromProtocols()
1824 if (ObjCInterfaceDecl *SDecl = CDecl->getSuperClass()) { in CollectSuperClassPropertyImplementations() local
1825 while (SDecl) { in CollectSuperClassPropertyImplementations()
1826 SDecl->collectPropertiesToImplement(PropMap); in CollectSuperClassPropertyImplementations()
1827 SDecl = SDecl->getSuperClass(); in CollectSuperClassPropertyImplementations()
1872 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty() local
1873 if (!SuperClassImplementsGetter && SDecl->getInstanceMethod(Prop->getGetterName())) in SuperClassImplementsProperty()
[all …]
H A DSemaDeclObjC.cpp2019 ObjCInterfaceDecl *SDecl = nullptr; in ActOnStartClassImplementation() local
2029 SDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); in ActOnStartClassImplementation()
2030 if (SDecl && !SDecl->hasDefinition()) in ActOnStartClassImplementation()
2031 SDecl = nullptr; in ActOnStartClassImplementation()
2032 if (!SDecl) in ActOnStartClassImplementation()
2035 else if (IDecl && !declaresSameEntity(IDecl->getSuperClass(), SDecl)) { in ActOnStartClassImplementation()
2039 << SDecl->getDeclName(); in ActOnStartClassImplementation()
2040 Diag(SDecl->getLocation(), diag::note_previous_definition); in ActOnStartClassImplementation()
2057 if (SDecl) { in ActOnStartClassImplementation()
2059 Context.getObjCInterfaceType(SDecl), in ActOnStartClassImplementation()
[all …]
H A DSemaExprMember.cpp1529 if (Decl *SDecl = FindGetterSetterNameDecl(OPT, in LookupMemberExpr() local
1532 SMD = dyn_cast<ObjCMethodDecl>(SDecl); in LookupMemberExpr()