| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | objc-typeargs-protocols.m | 26 …] [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 D | objc-asm-attribute-neg-test.m | 18 … {{'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 D | protocols.m | 4 @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 D | protocols-suppress-conformance.m | 47 // 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 D | attr-swift_bridge.m | 19 … attribute only applies to tag types, typedefs, Objective-C interfaces, and Objective-C protocols}}
|
| H A D | property-category-impl.m | 35 // No warn of unimplemented property of protocols in category,
|
| H A D | super-dealloc-attribute.m | 12 …; // expected-warning {{'objc_requires_super' attribute cannot be applied to methods in protocols}}
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | redecl-ivars.m | 12 …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 D | ParseObjc.cpp | 304 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 D | DeclObjC.cpp | 171 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 D | Type.cpp | 727 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 D | ASTContext.cpp | 2644 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 D | macho-objc-meta-data.test | 80 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 D | gnustep2-category-protocol.m | 3 // Regression test. We weren't emitting definitions for protocols used in
|
| H A D | non-runtime-protocol.m | 100 // 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 D | SemaDeclObjC.cpp | 1288 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 D | interface2.m | 76 // Forward-declared protocols
|
| H A D | interface1.m | 77 // Forward-declared protocols
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/ |
| H A D | msc51-cpp.rst | 10 security protocols.
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | missing-end-4.m | 35 @protocol P; // forward declarations of protocols in @implementations is allowed
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | objcmt-protocol-conformance.m | 73 @interface Test6 : NSObject // Test for minimal listing of conforming protocols
|
| H A D | objcmt-protocol-conformance.m.result | 73 @interface Test6 : NSObject<P6> // Test for minimal listing of conforming protocols
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | instancetype-test.mm | 56 // instancetype on class methods using protocols
|
| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 473 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 D | IvarInvalidationChecker.cpp | 257 for (const auto *I : InterfD->protocols()) in containsInvalidationMethod() 271 for (const auto *I : ProtD->protocols()) { in containsInvalidationMethod()
|