diff options
| author | gingerBill <bill@gingerbill.org> | 2020-02-01 22:50:57 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-02-01 22:50:57 +0000 |
| commit | 6ed6a91a6434a944010d8f2c6752e70a372b5296 (patch) | |
| tree | 717b41d6f7b5d82f6ee989eed77abc8eb4bf4163 /src/types.cpp | |
| parent | 0f399a72941c7cebcb5ad0580a9d94d1a7a37ac0 (diff) | |
Begin LLVM C API integration
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index d2a040b0b..822583fee 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -1,3 +1,5 @@ +#include "llvm-c/Types.h" + struct Scope; struct Ast; @@ -299,6 +301,7 @@ struct Type { i64 cached_size; i64 cached_align; u32 flags; // TypeFlag + LLVMTypeRef llvm_type; bool failure; }; |