aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-07-26 19:52:35 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-07-26 19:52:35 -0400
commitee64a22045ccbc39773779d4e386e25f563c8a90 (patch)
tree95263984be9a72a1c9cc102b55e715a83a38b8eb /src/analyze.hpp
parent018a89c7a1b2763a50375f6d6d168dfa1f877f6a (diff)
downloadzig-ee64a22045ccbc39773779d4e386e25f563c8a90.tar.gz
zig-ee64a22045ccbc39773779d4e386e25f563c8a90.zip
add the `anyframe` and `anyframe->T` types
Diffstat (limited to 'src/analyze.hpp')
-rw-r--r--src/analyze.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyze.hpp b/src/analyze.hpp
index 47ff4344ba..3115c79b40 100644
--- a/src/analyze.hpp
+++ b/src/analyze.hpp
@@ -41,6 +41,7 @@ ZigType *get_opaque_type(CodeGen *g, Scope *scope, AstNode *source_node, const c
ZigType *get_struct_type(CodeGen *g, const char *type_name, const char *field_names[],
ZigType *field_types[], size_t field_count);
ZigType *get_test_fn_type(CodeGen *g);
+ZigType *get_any_frame_type(CodeGen *g, ZigType *result_type);
bool handle_is_ptr(ZigType *type_entry);
bool type_has_bits(ZigType *type_entry);