summaryrefslogtreecommitdiffstats
path: root/test/input/Function.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-12 21:27:26 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-21 18:40:55 (GMT)
commitdefc57682613260ad41d903aad1c9ca35843aa51 (patch)
treee6b2326fb8ccedaf529f2e9937cbbdf71a5b345e /test/input/Function.cxx
parent64a8c86edc396067465798a2bf1cb4aa6f548753 (diff)
downloadCastXML-defc57682613260ad41d903aad1c9ca35843aa51.zip
CastXML-defc57682613260ad41d903aad1c9ca35843aa51.tar.gz
CastXML-defc57682613260ad41d903aad1c9ca35843aa51.tar.bz2
Output: Generate Function and related elements
Implement the OutputFunctionDecl, OutputCXXMethodDecl, OutputCXXConversionDecl, OutputCXXConstructorDecl, and OutputCXXDestructorDecl methods to generate these elements. Report the name="", returns="", context="", and location="" of the function declaration. Also add static="1", explicit="1", const="1", virtual="1", inline="1", extern="1", and artificial="1" (compiler generated), and throws="..." as appropriate. Inside the function element generate Argument elements describing the function parameters. For each argument report the name="", type="", and location="". Queue the argument types.
Diffstat (limited to 'test/input/Function.cxx')
-rw-r--r--test/input/Function.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/input/Function.cxx b/test/input/Function.cxx
new file mode 100644
index 0000000..48fad72
--- /dev/null
+++ b/test/input/Function.cxx
@@ -0,0 +1 @@
+void start(int);