diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-08-29 14:46:22 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-08-29 14:46:22 -0400 |
| commit | 0512beca9d694a667e3ad12a656835b44457fbcd (patch) | |
| tree | 66f1751961a0432cb0ac804f4b4a324b82b85942 /src/analyze.hpp | |
| parent | d9f0446b1f993c1b3c1bf5cc410b6d5f8a2f94fe (diff) | |
| download | zig-0512beca9d694a667e3ad12a656835b44457fbcd.tar.gz zig-0512beca9d694a667e3ad12a656835b44457fbcd.zip | |
comparing against zero participates in lazy values
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 7fa0143506..6e8897bf82 100644 --- a/src/analyze.hpp +++ b/src/analyze.hpp @@ -249,6 +249,8 @@ 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); +Error type_val_resolve_zero_bits(CodeGen *g, ConstExprValue *type_val, ZigType *parent_type, + ConstExprValue *parent_type_val, bool *is_zero_bits); ZigType *resolve_union_field_type(CodeGen *g, TypeUnionField *union_field); ZigType *resolve_struct_field_type(CodeGen *g, TypeStructField *struct_field); |
