diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-08-29 12:43:56 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-08-29 12:43:56 -0400 |
| commit | d9f0446b1f993c1b3c1bf5cc410b6d5f8a2f94fe (patch) | |
| tree | 78a89e490a0e143e1927770be67d6d4fca01ccdf /src/analyze.hpp | |
| parent | 94bbb46ca602be0ea0df97c207a98734ac459a0f (diff) | |
| download | zig-d9f0446b1f993c1b3c1bf5cc410b6d5f8a2f94fe.tar.gz zig-d9f0446b1f993c1b3c1bf5cc410b6d5f8a2f94fe.zip | |
make `@sizeOf` lazy
Diffstat (limited to 'src/analyze.hpp')
| -rw-r--r-- | src/analyze.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyze.hpp b/src/analyze.hpp index ebfd11f514..7fa0143506 100644 --- a/src/analyze.hpp +++ b/src/analyze.hpp @@ -247,6 +247,8 @@ void resolve_llvm_types_fn(CodeGen *g, ZigFn *fn); bool fn_is_async(ZigFn *fn); Error type_val_resolve_abi_align(CodeGen *g, ConstExprValue *type_val, uint32_t *abi_align); +Error type_val_resolve_abi_size(CodeGen *g, AstNode *source_node, ConstExprValue *type_val, + size_t *abi_size, size_t *size_in_bits); ZigType *resolve_union_field_type(CodeGen *g, TypeUnionField *union_field); ZigType *resolve_struct_field_type(CodeGen *g, TypeStructField *struct_field); |
