Home
last modified time | relevance | path

Searched refs:protocols (Results 1 – 25 of 68) sorted by relevance

123

/llvm-project-15.0.7/clang/test/Index/
H A Dobjc-typeargs-protocols.m26 …] [typekind=ObjCObjectPointer] [basetype=Foo] [basekind=ObjCInterface] [protocols=ObjCProtocolDecl…
27 …typeargs= [TestA *] [ObjCObjectPointer] [TestB *] [ObjCObjectPointer]] [protocols=ObjCProtocolDecl…
28 …=id<Bar>] [typekind=ObjCObjectPointer] [basetype=id] [basekind=ObjCId] [protocols=ObjCProtocolDecl…
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjc-asm-attribute-neg-test.m18 … {{'objc_runtime_name' attribute only applies to Objective-C interfaces and Objective-C protocols}}
37 … {{'objc_runtime_name' attribute only applies to Objective-C interfaces and Objective-C protocols}}
48 … {{'objc_runtime_name' attribute only applies to Objective-C interfaces and Objective-C protocols}}
H A Dprotocols.m4 @required // expected-error {{directive may only be specified in protocols only}}
8 @optional // expected-error {{directive may only be specified in protocols only}}
H A Dprotocols-suppress-conformance.m47 // Test that inherited protocols do not get the explicit conformance requirement.
71 …res_explicit_implementation)) // expected-error {{attribute only applies to Objective-C protocols}}
74 …res_explicit_implementation)) // expected-error {{attribute only applies to Objective-C protocols}}
77 // Test that inherited protocols with the attribute
H A Dattr-swift_bridge.m19 … attribute only applies to tag types, typedefs, Objective-C interfaces, and Objective-C protocols}}
H A Dproperty-category-impl.m35 // No warn of unimplemented property of protocols in category,
H A Dsuper-dealloc-attribute.m12 …; // expected-warning {{'objc_requires_super' attribute cannot be applied to methods in protocols}}
/llvm-project-15.0.7/clang/test/Modules/
H A Dredecl-ivars.m12 …syntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-in-methods-protocols.m
13 …ntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-in-methods-protocols.m \
119 //--- test-mismatch-in-methods-protocols.m
120 // Extensions with different methods or protocols aren't considered to be the same.
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp304 SmallVector<Decl *, 4> protocols; in ParseObjCAtInterfaceDeclaration() local
325 protocols, protocolLocs, EndProtoLoc, in ParseObjCAtInterfaceDeclaration()
1577 SmallVector<Decl *, 8> protocols; in parseObjCProtocolQualifierType() local
1606 SmallVectorImpl<Decl *> &protocols, in parseObjCTypeArgsOrProtocolQualifiers() argument
1786 SmallVectorImpl<Decl *> &protocols, in parseObjCTypeArgsAndProtocolQualifiers() argument
1798 protocols, in parseObjCTypeArgsAndProtocolQualifiers()
1816 if (!protocols.empty()) { in parseObjCTypeArgsAndProtocolQualifiers()
1843 SmallVector<Decl *, 4> protocols; in parseObjCTypeArgsAndProtocolQualifiers() local
1870 protocols, in parseObjCTypeArgsAndProtocolQualifiers()
2179 SmallVector<Decl *, 4> protocols; in ParseObjCAtImplementationDeclaration() local
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp171 for (const auto *PI : PD->protocols()) in HasUserDeclaredSetterMethod()
278 for (const auto *I : PID->protocols()) in FindPropertyDeclaration()
309 for (const auto *I : OCD->protocols()) in FindPropertyDeclaration()
1242 for (const auto *P : Category->protocols()) in CollectOverriddenMethodsRecurse()
1260 for (const auto *P : Protocol->protocols()) in CollectOverriddenMethodsRecurse()
1767 for (auto *PI : IDecl->protocols()){ in ClassImplementsProtocol()
1784 for (auto *PI : Cat->protocols()) in ClassImplementsProtocol()
1959 for (auto *I : protocols()) in lookupProtocolNamed()
1981 for (const auto *I : protocols()) in lookupMethod()
2012 for (const auto *PI : PDecl->protocols()) in collectPropertiesToImplement()
[all …]
H A DType.cpp727 initialize(protocols); in ObjCTypeParamType()
732 ArrayRef<ObjCProtocolDecl *> protocols, in ObjCObjectType() argument
749 initialize(protocols); in ObjCObjectType()
1399 ArrayRef<ObjCProtocolDecl *> protocols( in VisitObjCObjectType() local
1404 objcObjectType->getBaseType(), {}, protocols, in VisitObjCObjectType()
1415 ArrayRef<ObjCProtocolDecl *> protocols( in VisitObjCObjectType() local
1418 protocols, in VisitObjCObjectType()
3782 ID.AddInteger(protocols.size()); in Profile()
3783 for (auto proto : protocols) in Profile()
3800 ID.AddInteger(protocols.size()); in Profile()
[all …]
H A DASTContext.cpp2644 for (auto *Proto : OC->protocols()) { in CollectInheritedProtocols()
2653 for (auto *Proto : OP->protocols()) in CollectInheritedProtocols()
5253 ArrayRef<ObjCProtocolDecl *> protocols, in getObjCObjectType() argument
5300 canonProtocolsVec.append(protocols.begin(), protocols.end()); in getObjCObjectType()
5304 canonProtocols = protocols; in getObjCObjectType()
5349 protocolsVec.append(protocols.begin(), protocols.end()); in applyObjCProtocolQualifiers()
5354 protocols, in applyObjCProtocolQualifiers()
5367 protocols, in applyObjCProtocolQualifiers()
5414 if (!protocols.empty()) { in getObjCTypeParamType()
5437 SmallVector<ObjCProtocolDecl *, 8> protocols; in adjustObjCTypeParamBoundType() local
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/
H A Dmacho-objc-meta-data.test80 OBJC2_64BIT_EXE: protocols 0x1000023f0
117 OBJC2_64BIT_EXE: protocols 0x1000023f0
162 OBJC2_64BIT_OBJ: protocols 0x0
199 OBJC2_64BIT_OBJ: protocols 0x0
267 OBJC2_32BIT_EXE: protocols 0x0
276 OBJC2_32BIT_EXE: protocols 0x62e8
321 OBJC2_32BIT_EXE: protocols 0x0
330 OBJC2_32BIT_EXE: protocols 0x62e8
651 OBJC1_32BIT_EXE: protocols 0x00000000 (not in an __OBJC section)
696 OBJC1_32BIT_EXE: protocols 0x000043b4
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dgnustep2-category-protocol.m3 // Regression test. We weren't emitting definitions for protocols used in
H A Dnon-runtime-protocol.m100 // Confirm that we only emit references to the non-runtime protocols and
101 // properly walk the DAG to find the right protocols.
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp1288 for (auto *PI : PDecl->protocols()) in NestedProtocolHasNoDefinition()
1505 for (auto proto : protocols) { in actOnObjCTypeArgsOrProtocolQualifiers()
1528 protocols.push_back(proto); in actOnObjCTypeArgsOrProtocolQualifiers()
1619 protocols.clear(); in actOnObjCTypeArgsOrProtocolQualifiers()
1650 if (protocols[i] || typeDecls[i]) { in actOnObjCTypeArgsOrProtocolQualifiers()
1682 protocols.clear(); in actOnObjCTypeArgsOrProtocolQualifiers()
1699 protocols[i] = proto; in actOnObjCTypeArgsOrProtocolQualifiers()
1733 protocols.clear(); in actOnObjCTypeArgsOrProtocolQualifiers()
2813 for (auto *PI : PDecl->protocols()) in CheckProtocolMethodDefs()
2892 for (auto *PI : PD->protocols()) in MatchAllMethodDeclarations()
[all …]
/llvm-project-15.0.7/clang/test/ASTMerge/interface/Inputs/
H A Dinterface2.m76 // Forward-declared protocols
H A Dinterface1.m77 // Forward-declared protocols
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Dmsc51-cpp.rst10 security protocols.
/llvm-project-15.0.7/clang/test/Parser/
H A Dmissing-end-4.m35 @protocol P; // forward declarations of protocols in @implementations is allowed
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-protocol-conformance.m73 @interface Test6 : NSObject // Test for minimal listing of conforming protocols
H A Dobjcmt-protocol-conformance.m.result73 @interface Test6 : NSObject<P6> // Test for minimal listing of conforming protocols
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dinstancetype-test.mm56 // instancetype on class methods using protocols
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp473 recordObjCProtocols(ObjCInterfaceRecord, Decl->protocols()); in VisitObjCInterfaceDecl()
508 recordObjCProtocols(ObjCProtocolRecord, Decl->protocols()); in VisitObjCProtocolDecl()
574 recordObjCProtocols(ObjCCategoryRecord, Decl->protocols()); in VisitObjCCategoryDecl()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp257 for (const auto *I : InterfD->protocols()) in containsInvalidationMethod()
271 for (const auto *I : ProtD->protocols()) { in containsInvalidationMethod()

123