summaryrefslogtreecommitdiffstats
path: root/test/input
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-12 21:21:01 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-21 18:40:20 (GMT)
commit44b2a79924734d5dc5ff1c7afeea4efb30ac6b54 (patch)
tree2624abb25a27c78bd407e3a42ffbe92c92bd4b7a /test/input
parent76c942fbf736356445ea9eabf4eccd1919ee2ce1 (diff)
downloadCastXML-44b2a79924734d5dc5ff1c7afeea4efb30ac6b54.zip
CastXML-44b2a79924734d5dc5ff1c7afeea4efb30ac6b54.tar.gz
CastXML-44b2a79924734d5dc5ff1c7afeea4efb30ac6b54.tar.bz2
Output: Generate Class, Struct, and Union elements
Implement the OutputRecordDecl and OutputCXXRecordDecl methods to generate Class, Struct, and Union elements. Report the name="", context="", location="", incomplete="", and members="" of the declaration. Queue its members. Also map record types to the corresponding declarations.
Diffstat (limited to 'test/input')
-rw-r--r--test/input/Class-incomplete.cxx1
-rw-r--r--test/input/Class.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/input/Class-incomplete.cxx b/test/input/Class-incomplete.cxx
new file mode 100644
index 0000000..2e739ef
--- /dev/null
+++ b/test/input/Class-incomplete.cxx
@@ -0,0 +1 @@
+class start;
diff --git a/test/input/Class.cxx b/test/input/Class.cxx
new file mode 100644
index 0000000..92a7e59
--- /dev/null
+++ b/test/input/Class.cxx
@@ -0,0 +1 @@
+class start {};