Home
last modified time | relevance | path

Searched defs:__sentinel__ (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaObjC/
Dmethod-sentinel-attr.m9 …__sentinel__)) ; // expected-warning {{'sentinel' attribute only supported for variadic functions}}
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}}
14 ….. __attribute__ ((__sentinel__(-1))); // expected-error {{'sentinel' parameter 1 less than zero}}
15 - (void) foo10 : (int)x, ... __attribute__ ((__sentinel__(1,1)));
16 …sentinel__(1,1,3))); // expected-error {{'__sentinel__' attribute takes no more than 2 arguments}}