Debian Codegraph @

clang/test/SemaObjC/Inputs/arc-system-header.h

raw
1 static inline void *test0(id x) {
2 return x;
3 }
4
5 static inline void **test1(__strong id* x) {
6 return (void**) x;
7 }
8
9
10
11
12
13 struct Test3 {
14 id *field;
15 };
16
17 @interface Test4 {
18 @public
19 id *field1;
20 __strong id *field2;
21 }
22 @end
23
24 struct Test5 {
25 id field;
26 };
27
28
29
30
31
32
33
34 extern struct Test6 *const kMagicConstant;
35
36
37
38
39
40 @interface Test7
41 @property id *prop;
42 @end
43
44
45
46
47
48
49
50 static inline void *test8(id ptr) {
51 return (__bridge_retain void*) ptr;
52 }
53
54 typedef struct {
55 const char *name;
56 id field;
57 } Test9;