• Home
  • Raw
  • Download

Lines Matching refs:sentinel

8 - (void) foo1 : (int)x, ... ATTR; // expected-note {{method has been explicitly marked sentinel her…
9 - (void) foo3 : (int)x __attribute__ ((__sentinel__)) ; // expected-warning {{'sentinel' attribute …
10 …tribute__ ((__sentinel__(1))); // expected-note {{method has been explicitly marked sentinel here}}
11 …tribute__ ((__sentinel__(5))); // expected-note {{method has been explicitly marked sentinel here}}
12 …tribute__ ((__sentinel__(0))); // expected-note {{method has been explicitly marked sentinel here}}
13 - (void) foo8 : (int)x, ... __attribute__ ((__sentinel__("a"))); // expected-error {{'sentinel' at…
14 - (void) foo9 : (int)x, ... __attribute__ ((__sentinel__(-1))); // expected-error {{'sentinel' par…
17 - (void) foo12 : (int)x, ... ATTR; // expected-note {{method has been explicitly marked sentinel he…
20 - (id) foo13 : (id)firstObj, ... __attribute__((sentinel(0,1))); argument
21 - (id) foo14 : (id)firstObj : (Class)secondObj, ... __attribute__((sentinel(0,1))); argument
22 - (id) foo15 : (id*)firstObj, ... __attribute__((sentinel(0,1))); argument
23 - (id) foo16 : (id**)firstObj, ... __attribute__((sentinel(0,1))); argument
31 [p foo1:1, 0]; // expected-warning {{missing sentinel in method dispatch}}
34 [p foo5:1, NULL, 2, 1]; // expected-warning {{missing sentinel in method dispatch}}
36 [p foo6:1,2,3,4,5,6,7]; // expected-warning {{missing sentinel in method dispatch}}
38 …1]; // expected-warning {{not enough variable arguments in 'foo7:' declaration to fit a sentinel}}
41 …1]; // expected-warning {{not enough variable arguments in 'foo12:' declaration to fit a sentinel}}