Lines Matching refs:__attribute__
3 void f1(void) __attribute__((ownership_takes("foo"))); // expected-error {{'ownership_takes' attrib…
4 void *f2(void) __attribute__((ownership_returns(foo, 1, 2))); // expected-error {{'ownership_retur…
5 void f3(void) __attribute__((ownership_holds(foo, 1))); // expected-error {{'ownership_holds' attri…
6 void *f4(void) __attribute__((ownership_returns(foo)));
7 void f5(void) __attribute__((ownership_holds(foo))); // expected-error {{'ownership_holds' attribu…
8 void f6(void) __attribute__((ownership_holds(foo, 1, 2, 3))); // expected-error {{'ownership_holds…
9 void f7(void) __attribute__((ownership_takes(foo))); // expected-error {{'ownership_takes' attribu…
10 void f8(int *i, int *j, int k) __attribute__((ownership_holds(foo, 1, 2, 4))); // expected-error {…
12 int f9 __attribute__((ownership_takes(foo, 1))); // expected-warning {{'ownership_takes' attribute…
14 void f10(int i) __attribute__((ownership_holds(foo, 1))); // expected-error {{'ownership_holds' at…
15 void *f11(float i) __attribute__((ownership_returns(foo, 1))); // expected-error {{'ownership_retu…
16 void *f12(float i, int k, int f, int *j) __attribute__((ownership_returns(foo, 4))); // expected-e…
18 void f13(int *i, int *j) __attribute__((ownership_holds(foo, 1))) __attribute__((ownership_takes(fo…
19 void f14(int i, int j, int *k) __attribute__((ownership_holds(foo, 3))) __attribute__((ownership_ta…
22 __attribute__((ownership_returns(foo, 1))) // expected-note {{declared with index 1 here}}
23 …__attribute__((ownership_returns(foo, 2))); // expected-error {{'ownership_returns' attribute inde…
24 void f16(int *i, int *j) __attribute__((ownership_holds(foo, 1))) __attribute__((ownership_holds(fo…
25 void f17(void*) __attribute__((ownership_takes(__, 1)));
26 void f18() __attribute__((ownership_takes(foo, 1))); // expected-warning {{'ownership_takes' attri…