File tree Expand file tree Collapse file tree 9 files changed +33
-0
lines changed
cpp/ql/test/library-tests/attributes Expand file tree Collapse file tree 9 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ | type_attributes2.cpp:5:14:5:20 | a_class | type_attributes2.cpp:5:7:5:12 | visibility | type_attributes2.cpp:5:7:5:12 | hidden |
2
+ | type_attributes2.cpp:5:14:5:20 | a_class | type_attributes2.h:3:7:3:12 | visibility | type_attributes2.h:3:7:3:12 | hidden |
3
+ | type_attributes2.cpp:5:14:5:20 | a_class | type_attributes2.h:3:7:3:12 | visibility | type_attributes2.h:3:7:3:12 | hidden |
1
4
| type_attributes_ms.cpp:4:67:4:75 | IDispatch | type_attributes_ms.cpp:4:19:4:22 | uuid | type_attributes_ms.cpp:4:24:4:63 | {00020400-0000-0000-c000-000000000046} |
2
5
| type_attributes_ms.cpp:5:30:5:33 | Str1 | type_attributes_ms.cpp:5:12:5:16 | align | type_attributes_ms.cpp:5:18:5:19 | 32 |
3
6
| type_attributes_ms.cpp:6:55:6:62 | IUnknown | type_attributes_ms.cpp:6:2:6:2 | uuid | type_attributes_ms.cpp:6:2:6:2 | 00000000-0000-0000-c000-000000000046 |
Original file line number Diff line number Diff line change 1
1
| file://:0:0:0:0 | short __attribute((__may_alias__)) | type_attributes.c:25:30:25:42 | may_alias |
2
+ | type_attributes2.cpp:5:14:5:20 | a_class | type_attributes2.cpp:5:7:5:12 | visibility |
3
+ | type_attributes2.cpp:5:14:5:20 | a_class | type_attributes2.h:3:7:3:12 | visibility |
4
+ | type_attributes2.cpp:5:14:5:20 | a_class | type_attributes2.h:3:7:3:12 | visibility |
2
5
| type_attributes.c:5:36:5:51 | my_packed_struct | type_attributes.c:5:23:5:32 | packed |
3
6
| type_attributes.c:10:54:10:54 | (unnamed class/struct/union) | type_attributes.c:10:30:10:50 | transparent_union |
4
7
| type_attributes.c:16:54:16:54 | (unnamed class/struct/union) | type_attributes.c:16:30:16:50 | transparent_union |
Original file line number Diff line number Diff line change
1
+ #define HIDDEN __attribute__ ((visibility(" hidden" )))
2
+
3
+ #include " type_attributes2.h"
4
+
5
+ class HIDDEN a_class {
6
+ };
Original file line number Diff line number Diff line change
1
+ #pragma once
2
+
3
+ class HIDDEN a_class;
Original file line number Diff line number Diff line change
1
+ #define HIDDEN __attribute__ ((visibility(" hidden" )))
2
+
3
+ #include " type_attributes2.h"
Original file line number Diff line number Diff line change 6
6
| ms_var_attributes.cpp:12:42:12:46 | field | ms_var_attributes.cpp:12:14:12:21 | property |
7
7
| ms_var_attributes.cpp:20:34:20:37 | pBuf | ms_var_attributes.cpp:20:12:20:12 | SAL_volatile |
8
8
| ms_var_attributes.h:5:22:5:27 | myInt3 | ms_var_attributes.h:5:1:5:9 | dllexport |
9
+ | var_attributes2.cpp:5:12:5:21 | a_variable | var_attributes2.cpp:5:5:5:10 | visibility |
10
+ | var_attributes2.cpp:5:12:5:21 | a_variable | var_attributes2.cpp:5:5:5:10 | visibility |
11
+ | var_attributes2.cpp:5:12:5:21 | a_variable | var_attributes2.h:3:12:3:17 | visibility |
12
+ | var_attributes2.cpp:5:12:5:21 | a_variable | var_attributes2.h:3:12:3:17 | visibility |
9
13
| var_attributes.c:1:12:1:19 | weak_var | var_attributes.c:1:36:1:39 | weak |
10
14
| var_attributes.c:2:12:2:22 | weakref_var | var_attributes.c:2:39:2:45 | weakref |
11
15
| var_attributes.c:3:12:3:19 | used_var | var_attributes.c:3:36:3:39 | used |
Original file line number Diff line number Diff line change
1
+ #define HIDDEN __attribute__ ((visibility(" hidden" )))
2
+
3
+ #include " var_attributes2.h"
4
+
5
+ int HIDDEN a_variable;
Original file line number Diff line number Diff line change
1
+ #pragma once
2
+
3
+ extern int HIDDEN a_variable ;
Original file line number Diff line number Diff line change
1
+ #define HIDDEN __attribute__ ((visibility(" hidden" )))
2
+
3
+ #include " var_attributes2.h"
You can’t perform that action at this time.
0 commit comments