Lines Matching refs:cleanup
5 extern int g1 __attribute((cleanup(c1))); // expected-warning {{'cleanup' attribute ignored}}
6 int g2 __attribute((cleanup(c1))); // expected-warning {{'cleanup' attribute ignored}}
7 static int g3 __attribute((cleanup(c1))); // expected-warning {{'cleanup' attribute ignored}}
11 int v1 __attribute((cleanup)); // expected-error {{'cleanup' attribute takes one argument}} in t1()
12 … int v2 __attribute((cleanup(1, 2))); // expected-error {{'cleanup' attribute takes one argument}} in t1()
14 static int v3 __attribute((cleanup(c1))); // expected-warning {{'cleanup' attribute ignored}} in t1()
16 int v4 __attribute((cleanup(h))); // expected-error {{use of undeclared identifier 'h'}} in t1()
18 int v5 __attribute((cleanup(c1))); in t1()
19 … int v6 __attribute((cleanup(v3))); // expected-error {{'cleanup' argument 'v3' is not a function}} in t1()
31 …int v1 __attribute__((cleanup(c2))); // expected-error {{'cleanup' function 'c2' must take 1 param… in t2()
32 …int v2 __attribute__((cleanup(c3))); // expected-error {{'cleanup' function 'c3' parameter has typ… in t2()
38 __attribute((cleanup(c4))) void* g; in t4()
43 int i __attribute__((cleanup(c5))); // expected-warning {{'c5' is deprecated}} in t5()
47 …int i __attribute__((cleanup((void *)0))); // expected-error {{'cleanup' argument is not a functi… in t6()