summaryrefslogtreecommitdiffstats
path: root/test/input/Function-calling-convention-ms.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-14 17:36:39 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-14 17:37:53 (GMT)
commit68009c611d9fbf5ad8391e12e4d40c5716aee43e (patch)
tree3f8e1f58046e8d3fc948d393479d4c6ea89be1ea /test/input/Function-calling-convention-ms.cxx
parent2bba2e9e8900666ca92a7abb848ee8e5756462d8 (diff)
downloadCastXML-68009c611d9fbf5ad8391e12e4d40c5716aee43e.zip
CastXML-68009c611d9fbf5ad8391e12e4d40c5716aee43e.tar.gz
CastXML-68009c611d9fbf5ad8391e12e4d40c5716aee43e.tar.bz2
Output: Add function calling convention attributes
Add to Function-like and FunctionType elements an attributes="" attribute for the calling convention as gccxml does.
Diffstat (limited to 'test/input/Function-calling-convention-ms.cxx')
-rw-r--r--test/input/Function-calling-convention-ms.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/input/Function-calling-convention-ms.cxx b/test/input/Function-calling-convention-ms.cxx
new file mode 100644
index 0000000..fac3c42
--- /dev/null
+++ b/test/input/Function-calling-convention-ms.cxx
@@ -0,0 +1,4 @@
+void __cdecl start(void (__cdecl *)());
+void __stdcall start(void (__stdcall *)());
+void __fastcall start(void (__fastcall *)());
+void __thiscall start(void (__thiscall *)());