File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
cpp/ql/test/library-tests/calling-convention Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ | test.cpp:4:21:4:35 | definition of thiscall_method | thiscall |
2
+ | test.cpp:7:14:7:23 | definition of func_cdecl | cdecl |
3
+ | test.cpp:9:16:9:27 | definition of func_stdcall | stdcall |
4
+ | test.cpp:11:17:11:29 | definition of func_fastcall | fastcall |
5
+ | test.cpp:13:20:13:34 | definition of func_vectorcall | vectorcall |
6
+ | test.cpp:15:13:15:25 | definition of func_overload | cdecl |
7
+ | test.cpp:16:15:16:27 | definition of func_overload | stdcall |
Original file line number Diff line number Diff line change
1
+ // semmle-extractor-options: --microsoft
2
+
3
+ struct call_conventions {
4
+ void __thiscall thiscall_method () {}
5
+ };
6
+
7
+ void __cdecl func_cdecl () {}
8
+
9
+ void __stdcall func_stdcall () {}
10
+
11
+ void __fastcall func_fastcall () {}
12
+
13
+ void __vectorcall func_vectorcall () {}
14
+
15
+ int __cdecl func_overload () {}
16
+ int __stdcall func_overload (int x) {}
You can’t perform that action at this time.
0 commit comments