summaryrefslogtreecommitdiff
path: root/src/nodes/voidtypenode.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-04 16:37:54 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-04 16:37:54 +0300
commit31bea817530d86bc59fe288e4ac84dcefee61e8f (patch)
tree6b28d39124cce6e803822ec0ee35bd429aed5016 /src/nodes/voidtypenode.h
parent8a768d52e6f1bc2ab243578e95977f81d851a28d (diff)
downloadparanucker-31bea817530d86bc59fe288e4ac84dcefee61e8f.tar.gz
paranucker-31bea817530d86bc59fe288e4ac84dcefee61e8f.tar.bz2
paranucker-31bea817530d86bc59fe288e4ac84dcefee61e8f.tar.xz
paranucker-31bea817530d86bc59fe288e4ac84dcefee61e8f.zip
Add support for parsing VOID_TYPE node.
Diffstat (limited to 'src/nodes/voidtypenode.h')
-rw-r--r--src/nodes/voidtypenode.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/nodes/voidtypenode.h b/src/nodes/voidtypenode.h
new file mode 100644
index 0000000..20ba48d
--- /dev/null
+++ b/src/nodes/voidtypenode.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2015 Andrei Karas
+ *
+ * This file is part of AstDumper.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NODES_VOIDTYPENODE_H
+#define NODES_VOIDTYPENODE_H
+
+#include "nodes/base/typenode.h"
+
+#include <string>
+
+struct VoidTypeNode : public TypeNode
+{
+ VoidTypeNode() :
+ TypeNode()
+ {
+ }
+};
+
+#endif // NODES_VOIDTYPENODE_H