Lines Matching full:property
1 // RUN: %clang_cc1 -fsyntax-only -Wunused-property-ivar -verify -Wno-objc-root-class %s
7 @property (nonatomic, copy) id t; // expected-note {{property declared here}}
8 @property (nonatomic, copy) id u; // expected-note {{property declared here}}
9 @property (nonatomic, copy) id v; // expected-note {{property declared here}}
10 @property (nonatomic, copy) id w;
11 @property (nonatomic, copy) id x; // expected-note {{property declared here}}
12 @property (nonatomic, copy) id y; // expected-note {{property declared here}}
13 @property (nonatomic, copy) id z;
14 @property (nonatomic, copy) id ok;
18 - (void) setX:(id)newX { // expected-warning {{ivar '_x' which backs the property is not referenced in this property's accessor}}
21 - (id) y { // expected-warning {{ivar '_y' which backs the property is not referenced in this property's accessor}}
25 - (void) setV:(id)newV { // expected-warning {{ivar '_v' which backs the property is not referenced in this property's accessor}}
38 - (id) u { // expected-warning {{ivar '_u' which backs the property is not referenced in this property's accessor}}
48 - (void) setT:(id)newT { // expected-warning {{ivar 'tIvar' which backs the property is not referenced in this property's accessor}}
58 @property (nonatomic, readonly,nonatomic) BOOL supportsTimeRangeFilterWithoutEndDate;
80 @property (nonatomic, assign) BOOL atomic;
98 @property(assign) long operation;
110 @property (assign, readonly) long p;
111 @property (assign) long q; // expected-note 2 {{property declared here}}
112 @property (assign, readonly) long r; // expected-note {{property declared here}}
122 - (long) q { return 0; } // expected-warning {{ivar 'q' which backs the property is not referenced in this property's accessor}}
123 - (void) setQ : (long) val { } // expected-warning {{ivar 'q' which backs the property is not referenced in this property's accessor}}
124 - (long) r { [self Meth]; return p; } // expected-warning {{ivar 'r' which backs the property is not referenced in this property's accessor}}
128 @property (readonly) int p1;
129 @property (readonly) int p2; // expected-note {{property declared here}}
145 -(int)p2 { // expected-warning {{ivar '_p2' which backs the property is not referenced in this property's accessor}}
153 @property (nonatomic, readonly) int myProperty;
168 -(int)myProperty // should not warn; property is dynamic
179 @property(strong, atomic, readonly) NSURL *cidURL;
180 @property(strong, atomic, readonly) NSURL *cidURL1; // expected-note {{property declared here}}
200 - (NSURL *)cidURL1 { // expected-warning {{ivar '_cidURL1' which backs the property is not referenced in this property's accessor}}