diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-04-27 16:15:41 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-04-27 16:19:20 -0400 |
| commit | 7e11ef79d67d000675e90ddf93fdb78d71cc695d (patch) | |
| tree | 1a6bbe0cd8d5f8f24fd997341ced1e11b444b059 /src/analyze.hpp | |
| parent | 7b0542d08b7e8e5ccbe81f495d641305b3b8a264 (diff) | |
| download | zig-7e11ef79d67d000675e90ddf93fdb78d71cc695d.tar.gz zig-7e11ef79d67d000675e90ddf93fdb78d71cc695d.zip | |
zig test no longer requires a separate test_runner.o file
See #298
Diffstat (limited to 'src/analyze.hpp')
| -rw-r--r-- | src/analyze.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analyze.hpp b/src/analyze.hpp index cbcab31e62..785b8a697a 100644 --- a/src/analyze.hpp +++ b/src/analyze.hpp @@ -33,6 +33,9 @@ TypeTableEntry *get_smallest_unsigned_int_type(CodeGen *g, uint64_t x); TypeTableEntry *get_error_type(CodeGen *g, TypeTableEntry *child_type); TypeTableEntry *get_bound_fn_type(CodeGen *g, FnTableEntry *fn_entry); TypeTableEntry *get_opaque_type(CodeGen *g, Scope *scope, AstNode *source_node, const char *name); +TypeTableEntry *get_struct_type(CodeGen *g, const char *type_name, const char *field_names[], + TypeTableEntry *field_types[], size_t field_count); +TypeTableEntry *get_test_fn_type(CodeGen *g); bool handle_is_ptr(TypeTableEntry *type_entry); void find_libc_include_path(CodeGen *g); void find_libc_lib_path(CodeGen *g); @@ -60,6 +63,7 @@ ScopeDecls *get_container_scope(TypeTableEntry *type_entry); TypeEnumField *find_enum_type_field(TypeTableEntry *enum_type, Buf *name); bool is_container_ref(TypeTableEntry *type_entry); void scan_decls(CodeGen *g, ScopeDecls *decls_scope, AstNode *node); +void scan_import(CodeGen *g, ImportTableEntry *import); void preview_use_decl(CodeGen *g, AstNode *node); void resolve_use_decl(CodeGen *g, AstNode *node); FnTableEntry *scope_fn_entry(Scope *scope); |
