summaryrefslogtreecommitdiff
path: root/Type.hh
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-05-30 00:25:03 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-05-30 00:25:03 +0800
commit56d68765016fc7aa68fe7b522de5e84c7a12123a (patch)
treeba9828637913aa40bc1b1509c5127be9bded3a6e /Type.hh
parentf15a071f6d599d2a21083dfb041b18db8d482949 (diff)
global variable, constant support
Diffstat (limited to 'Type.hh')
-rw-r--r--Type.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/Type.hh b/Type.hh
index 898bbdd..3bfd733 100644
--- a/Type.hh
+++ b/Type.hh
@@ -100,6 +100,11 @@ class Type {
llvm::Type* LLVMType_;
};
+class VoidType : public Type {
+ public:
+ VoidType();
+};
+
class IntegerBaseType : public Type {
public:
IntegerBaseType(std::string&& name, int width, llvm::Type* LLVMType);