Lines Matching refs:unused
1 // RUN: %clang_cc1 -verify -Wused-but-marked-unused -Wno-objc-protocol-method-implementation -Wunus…
24 … for test purposes".length; // expected-warning {{property access result unused - getters should n…
36 (int)y: // expected-warning {{unused}} expected-warning {{'y' used as the name of the previous pa…
39 (int) __attribute__((unused))z { return x; } argument
43 // The next test shows how clang accepted attribute((unused)) on ObjC
48 #define UNUSED_IVAR __attribute__((unused))
50 #error __attribute__((unused)) not supported on ivars
54 id y __attribute__((unused)); // no-warning
60 static NSString *x = @"hi"; // expected-warning {{unused variable 'x'}}
64 - (void) a __attribute__((unused)); argument
65 - (void) b __attribute__((unused)); argument
77 // unused variable warnings.
117 …self.getOrCreateGroup; // expected-warning {{property access result unused - getters should not be…
118 …self.group; // expected-warning {{property access result unused - getters should not be used for s…