Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 111) sorted by relevance

12345

/llvm-project-15.0.7/clang/test/Index/
H A Dindex-decls.m2 @property (readonly) id prop; property
3 -(id)prop; method
7 @property (assign,readwrite) id prop;
11 @synthesize prop = _prop;
37 @property (assign, nonatomic) id prop; property
38 -(id)prop; method
43 @synthesize prop = _prop;
44 -(id)prop { method
61 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: prop | {{.*}} | loc: 3:7
62 // CHECK: [indexDeclaration]: kind: objc-property | name: prop | {{.*}} | loc: 2:25
[all …]
H A Dindex-attrs.m3 @property (retain) __attribute__((iboutletcollection(Foo))) Foo *prop; property
7 -(id)prop __attribute__((annotate("anno")));
9 @property (assign) id prop __attribute__((annotate("anno")));
40 // CHECK: <getter>: kind: objc-instance-method | name: prop | {{.*}} <attribute>: attribute(annotat…
H A Doverrides.m76 -(id)prop; method
77 -(void)setProp:(id)prop;
81 @property (assign) id prop; property
115 // CHECK: overrides.m:81:23: ObjCInstanceMethodDecl=prop:81:23 [Overrides @76:6] Extent=[81:23 - 81…
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Darc-property-decl-attrs.m110 @property(readonly, retain) id prop; property
118 @property (readwrite) id prop;
122 @synthesize prop;
139 @synthesize prop; // expected-note {{property synthesized here}}
152 @synthesize prop; // expected-note {{property synthesized here}}
169 @property (copy, readonly) id prop; // expected-error {{property with getter 'prop' was selected fo… property
182 @property (copy, readonly) id prop; property
217 @property (assign, nonatomic, readonly) id prop; // ok property
231 @property (nonatomic, readonly) NSObject *prop; property
238 @property (nonatomic, readwrite) NSObject *prop; property
[all …]
H A Dtentative-property-decl.m18 @property(nonatomic, copy, readonly) NSString *prop; property
23 @property(nonatomic, copy, readwrite) NSString *prop;
27 @synthesize prop;
33 @property(nonatomic, copy, readonly) NSString *prop; property
41 @property(nonatomic, copy, readwrite) NSString *prop;
45 @synthesize prop;
H A Darc-system-header.m41 *p.prop = 0; // expected-error {{'prop' is unavailable in ARC}}
42 p.prop = 0; // expected-error {{'prop' is unavailable in ARC}}
43 *[p prop] = 0; // expected-error {{'prop' is unavailable in ARC}}
46 // [email protected]:41 2 {{property 'prop' is declared unavailable here}}
H A Dobjc-buffered-methods.m9 @property int prop; property
22 - (int) func { return prop; } // compiles - synthesized ivar will be accessible here.
24 @synthesize prop;
H A Divar-sem-check-2.m8 @property(retain) id prop; property
20 @synthesize prop=value2; // expected-error {{property 'prop' attempting to use instance variable '…
H A Ddiagnose_if.m9 @property (assign) id prop _diagnose_if(1, "don't use this", "warning"); // expected-note 2{{from '…
14 id o1 = i.prop; // expected-warning {{don't use this}}
15 id o2 = [i prop]; // expected-warning {{don't use this}}
H A Dproperty-ivar-mismatch.m8 @property int prop; property
12 @synthesize prop = ivar; // expected-error {{type of property 'prop' ('int') does not match type o…
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterObjCTest.cpp70 for (clang::ObjCPropertyDecl *prop : ToClass->properties()) { in TEST_P()
72 ASSERT_TRUE(prop->getGetterMethodDecl()); in TEST_P()
73 ASSERT_TRUE(prop->getSetterMethodDecl()); in TEST_P()
75 ASSERT_EQ(prop->getGetterMethodDecl()->findPropertyDecl(), prop); in TEST_P()
76 ASSERT_EQ(prop->getSetterMethodDecl()->findPropertyDecl(), prop); in TEST_P()
/llvm-project-15.0.7/libcxx/utils/
H A Dgenerate_extended_grapheme_cluster_table.py27 prop: str = None variable in PropertyRange
34 prop: int = -1 variable in Entry
45 lower_str, upper_str, result.prop = m.group("lower", "upper", "prop")
67 and result[-1].prop == x.prop
253 e = Entry(range.lower, range.upper - range.lower, props.index(range.prop))
268 prop_values = sorted(set(x.prop for x in ranges))
280 cpp_entrytemplate.format(x.lower << 11 | x.offset << 4 | x.prop)
316 [gbp_ranges.append(x) for x in emoji_ranges if x.prop == "Extended_Pictographic"]
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dproperty-reference.mm57 @property int prop; property
62 int x = a.prop;
63 a.prop = x;
64 a.prop += x;
81 int x = (sizeof(T), a).prop;
82 a.prop = (sizeof(T), x);
83 a.prop += (sizeof(T), x);
/llvm-project-15.0.7/clang/test/FixIt/
H A Datomic-property.m4 @property id prop; property
6 - (id) prop; method
17 @synthesize prop, prop1, prop2;
19 - (id) prop { return 0; } method
H A Dfixit-add-synthesize-to-property.m5 @property int prop; property
14 @end // CHECK: fix-it:{{.*}}:{[[@LINE]]:1-[[@LINE]]:1}:"@synthesize prop;\n\n"
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dinstance-method-metadata.m12 @property (assign) id prop; property
22 @synthesize prop;
26 @synthesize prop;
34 // CHECK-NEXT: .quad "-[Bar prop]"
/llvm-project-15.0.7/clang/test/ARCMT/
H A DGC-no-arc-runtime.m33 @property (retain) id prop; property
37 @synthesize prop;
40 self.prop = 0;
77 __weak id prop; field
79 @property (readonly) __weak id prop; property
H A DGC-no-arc-runtime.m.result26 @property (strong) id prop;
30 @synthesize prop;
69 __unsafe_unretained id prop;
71 @property (unsafe_unretained, readonly) id prop;
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp61 const MDString *prop = dyn_cast<MDString>(md->getOperand(i)); in cacheAnnotationFromMD() local
62 assert(prop && "Annotation property not a string"); in cacheAnnotationFromMD()
68 std::string keyname = prop->getString().str(); in cacheAnnotationFromMD()
113 bool findOneNVVMAnnotation(const GlobalValue *gv, const std::string &prop, in findOneNVVMAnnotation() argument
122 if (AC.Cache[m][gv].find(prop) == AC.Cache[m][gv].end()) in findOneNVVMAnnotation()
124 retval = AC.Cache[m][gv][prop][0]; in findOneNVVMAnnotation()
128 bool findAllNVVMAnnotation(const GlobalValue *gv, const std::string &prop, in findAllNVVMAnnotation() argument
137 if (AC.Cache[m][gv].find(prop) == AC.Cache[m][gv].end()) in findAllNVVMAnnotation()
139 retval = AC.Cache[m][gv][prop]; in findAllNVVMAnnotation()
/llvm-project-15.0.7/clang/test/Analysis/
H A DObjCProperties.m11 @property NSObject *prop; property
20 if ((self.prop)) {
25 // inside the if-statement. The dynamic bifurcation at (self.prop) inside
29 clang_analyzer_eval(self.prop); // expected-warning{{TRUE}}
H A Dproperties.m810 id prop = [self.manualProp retain];
811 [prop release];
817 id prop = [self.manualProp retain];
818 [prop release];
839 id prop = [self.readonlyProp retain];
840 [prop release];
847 [prop release];
854 [prop release];
861 [prop release];
868 [prop release];
[all …]
/llvm-project-15.0.7/clang/test/Index/Core/
H A Dindex-source.m126 @property (readwrite) id prop; property
159 @synthesize prop = _prop;
173 [self prop];
183 self.prop;
190 self.prop = self.prop;
201 // CHECK: [[@LINE+3]]:6 | instance-method/acc-get/ObjC | prop | c:objc(cs)I3(im)prop | -[I3 prop] |…
203 // CHECK-NEXT: RelAcc | prop | c:objc(cs)I3(py)prop
204 -(id)prop; method
207 // CHECK-NEXT: RelAcc | prop | c:objc(cs)I3(py)prop
217 // CHECK: [[@LINE+2]]:13 | instance-method/acc-get/ObjC | prop | c:objc(cs)I3(im)prop | -[I3 prop] …
[all …]
H A Dindex-subkinds.m45 …HECK: [[@LINE+2]]:34 | instance-method/acc-get/ObjC | prop | c:objc(cs)IBCls(im)prop | -[IBCls pro…
46 // CHECK: [[@LINE+1]]:34 | instance-property(IB)/ObjC | prop | c:objc(cs)IBCls(py)prop | <no-cgname…
47 @property (readonly) IBOutlet id prop; property
/llvm-project-15.0.7/clang/test/Parser/
H A Dobjc-property-syntax.m4 int prop; field
10 @property int prop; property
15 @synthesize prop // expected-error{{expected ';' after @synthesize}}
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DProtocol.cpp30 llvm::StringLiteral prop, T &out, in mapOptOrNull() argument
36 auto *v = o->get(prop); in mapOptOrNull()
39 return fromJSON(*v, out, path.field(prop)); in mapOptOrNull()

12345