Lines Matching refs: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 …ewX { // expected-warning {{ivar '_x' which backs the property is not referenced in this property
21 …d) y { // expected-warning {{ivar '_y' which backs the property is not referenced in this property
25 …newV { // expected-warning {{ivar '_v' which backs the property is not referenced in this property
38 …d) u { // expected-warning {{ivar '_u' which backs the property is not referenced in this property
48 …T { // expected-warning {{ivar 'tIvar' which backs the property is not referenced in this property
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 …rn 0; } // expected-warning {{ivar 'q' which backs the property is not referenced in this property
123 …val { } // expected-warning {{ivar 'q' which backs the property is not referenced in this property
124 …rn p; } // expected-warning {{ivar 'r' which backs the property is not referenced in this property
128 @property (readonly) int p1;
129 @property (readonly) int p2; // expected-note {{property declared here}}
145 …p2 { // expected-warning {{ivar '_p2' which backs the property is not referenced in this property
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 … // expected-warning {{ivar '_cidURL1' which backs the property is not referenced in this property