diff options
author | Brad King <brad.king@kitware.com> | 2014-02-12 21:27:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-21 18:40:55 (GMT) |
commit | defc57682613260ad41d903aad1c9ca35843aa51 (patch) | |
tree | e6b2326fb8ccedaf529f2e9937cbbdf71a5b345e /test/input | |
parent | 64a8c86edc396067465798a2bf1cb4aa6f548753 (diff) | |
download | CastXML-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')
-rw-r--r-- | test/input/Function-throw.cxx | 1 | ||||
-rw-r--r-- | test/input/Function.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/input/Function-throw.cxx b/test/input/Function-throw.cxx new file mode 100644 index 0000000..f131b31 --- /dev/null +++ b/test/input/Function-throw.cxx @@ -0,0 +1 @@ +void start(int) throw(int, char); 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); |