Home
last modified time | relevance | path

Searched refs:objc_protocol (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dpragma-attribute-strict-subjects.c126 …e push(__attribute__((objc_subclassing_restricted)), apply_to = any(objc_interface, objc_protocol))
130 …a clang attribute push(__attribute__((objc_subclassing_restricted)), apply_to = any(objc_protocol))
136 …e push(__attribute__((objc_subclassing_restricted)), apply_to = any(objc_interface, objc_protocol))
140 …a clang attribute push(__attribute__((objc_subclassing_restricted)), apply_to = any(objc_protocol))
152 …g attribute push (__attribute__((annotate("test"))), apply_to = any(objc_interface, objc_protocol))
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dnon-runtime-protocol.m66 // GNU-NOT: @.objc_protocol {{.*}}
68 // GNU2-NOT: @.objc_protocol {{.*}}
111 // GNUINHERITANCE-DAG: [[P1Name:@.objc_protocol.[0-9]*]]{{.*}}@[[Proto1]]
113 // GNUINHERITANCE-DAG: [[P2Name:@.objc_protocol.[0-9]+]]{{.*}}@[[Proto2]]
115 // GNUINHERITANCE-DAG: [[P3Name:@.objc_protocol.[0-9]+]]{{.*}}@[[Proto3]]
H A Dforward-declare-protocol-gnu.m13 // CHECK: @.objc_protocol
/llvm-project-15.0.7/llvm/test/MC/MachO/
H A Dx86_64-sections.s24 .objc_protocol
H A Dx86_32-sections.s28 .objc_protocol
H A Dx86_64-symbols.s75 .objc_protocol
H A Dx86_32-symbols.s75 .objc_protocol
/llvm-project-15.0.7/clang/test/PCH/
H A Dobjc_exprs.h10 typedef typeof(@protocol(foo2)) objc_protocol; typedef
H A Dobjc_exprs.m14 int *A3 = (objc_protocol)0; // expected-warning {{aka 'Protocol *'}}
/llvm-project-15.0.7/clang/test/Misc/
H A Dpragma-attribute-objc.m4 …sh (__attribute__((annotate("test"))), apply_to = any(objc_interface, objc_protocol, objc_property…
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp31 if (Kind == tok::objc_interface || Kind == tok::objc_protocol) in MaybeSkipAttributes()
33 << (Kind == tok::objc_protocol); in MaybeSkipAttributes()
64 case tok::objc_protocol: in ParseObjCAtDirectives()
717 if (contextKey != tok::objc_protocol) in ParseObjCInterfaceDeclList()
2030 assert(Tok.isObjCAtKeyword(tok::objc_protocol) && in ParseObjCAtProtocolDeclaration()
2040 MaybeSkipAttributes(tok::objc_protocol); in ParseObjCAtProtocolDeclaration()
2095 ParseObjCInterfaceDeclList(tok::objc_protocol, ProtoType); in ParseObjCAtProtocolDeclaration()
2855 case tok::objc_protocol: in ParseObjCAtExpression()
H A DParser.cpp1142 !Tok.isObjCAtKeyword(tok::objc_protocol) && in ParseDeclOrFunctionDefInternal()
1158 if (Tok.isObjCAtKeyword(tok::objc_protocol)) in ParseDeclOrFunctionDefInternal()
/llvm-project-15.0.7/clang/test/Index/Core/
H A Dexternal-source-symbol-attr.m5 …od_name) push(GEN_DECL(mod_name), apply_to=any(enum, objc_interface, objc_category, objc_protocol))
/llvm-project-15.0.7/clang/test/AST/
H A Dpragma-attribute-objc-subject-match-rules.m2 …c-root-class -fsyntax-only -ast-dump -ast-dump-filter test "-DSUBJECT=objc_protocol" %s | FileChec…
/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineParser.cpp1669 case tok::objc_protocol: in parseStructuralElement()
3907 assert(FormatTok->Tok.getObjCKeywordID() == tok::objc_protocol); in parseObjCProtocol()
H A DTokenAnnotator.cpp1912 case tok::objc_protocol: in determineTokenType()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5182 static bool objc_protocol = false; in RewriteObjCProtocolMetaData() local
5183 if (!objc_protocol) { in RewriteObjCProtocolMetaData()
5192 objc_protocol = true; in RewriteObjCProtocolMetaData()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td492 def SubjectMatcherForObjCProtocol : AttrSubjectMatcherRule<"objc_protocol",
/llvm-project-15.0.7/clang/docs/
H A DLanguageExtensions.rst4394 - ``objc_protocol``: Can be used to apply attributes to ``@protocol``