diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 16:20:01 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 16:20:01 +0300 |
| commit | dbcb4228e0301c241b5d921fd64e6d6139f714e3 (patch) | |
| tree | 09bf856ac97e953a27a74f87f61135fddbf8af2a /include/cu/actualize.h | |
| parent | 2ca159fb5c2a52f33c499eef1fa50a98a863b0f0 (diff) | |
| download | ek-dbcb4228e0301c241b5d921fd64e6d6139f714e3.tar.gz ek-dbcb4228e0301c241b5d921fd64e6d6139f714e3.zip | |
rename to ek
Diffstat (limited to 'include/cu/actualize.h')
| -rw-r--r-- | include/cu/actualize.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/cu/actualize.h b/include/cu/actualize.h deleted file mode 100644 index 94a4d30..0000000 --- a/include/cu/actualize.h +++ /dev/null @@ -1,34 +0,0 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ - -#ifndef ANALYZE_H -#define ANALYZE_H - -#include <assert.h> - -#include "ast.h" -#include "scope.h" - -int types_match(struct ast_node *a, struct ast_node *b); - -/* these three might be better off in some ast_utils.c or something */ -void replace_type(struct ast_node *type, - struct ast_node *from, struct ast_node *to); - -void replace_param_types(struct ast_node *param, - struct ast_node *param_type, - struct ast_node *arg_type); - -void init_template_type(struct ast_node *type, struct ast_node *param_type, - struct ast_node *arg_type); -void init_template_types(struct ast_node *param, struct ast_node *param_type, - struct ast_node *arg_type); - -struct ast_node *extract_template(struct ast_node *type); -struct ast_node *extract_typeof(struct ast_node *type); - -int analyze_root(struct scope *scope, struct ast_node *tree); -int actualize_main(struct scope *scope); -int actualize_temp_type(struct scope *scope, struct ast_node *type); -struct ast_node *actual_type(struct ast_node *type); - -#endif /* ANALYZE_H */ |
