Home | History | Annotate | Download | only in SemaObjC

Lines Matching full:ivar

1 // RUN: %clang_cc1  -fsyntax-only -Wunused-property-ivar -verify -Wno-objc-root-class %s
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}}
29 // No warning here because there is no backing ivar.
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}}
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}}
145 -(int)p2 { // expected-warning {{ivar '_p2' which backs the property is not referenced in this property's accessor}}
200 - (NSURL *)cidURL1 { // expected-warning {{ivar '_cidURL1' which backs the property is not referenced in this property's accessor}}