summaryrefslogtreecommitdiff
path: root/src/codegen/codegen.h
diff options
context:
space:
mode:
authoriryuken <eshwarsajja20@gmail.com>2026-01-25 23:29:00 +0530
committerGitHub <noreply@github.com>2026-01-25 23:29:00 +0530
commit1c4a6e1cf58503499b1c8245c1d15bd70efe0048 (patch)
tree71b952ad455bf17d5bdea01472f0e2297f25eabe /src/codegen/codegen.h
parent863118c95caac0d69a35f6ae4d2e83844734a8a1 (diff)
parentebc8b94baa6bc694cb4829e2eb2934a1f17fa6a1 (diff)
Merge pull request
fix merge conflicts and #105
Diffstat (limited to 'src/codegen/codegen.h')
-rw-r--r--src/codegen/codegen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/codegen/codegen.h b/src/codegen/codegen.h
index d27356a..942de41 100644
--- a/src/codegen/codegen.h
+++ b/src/codegen/codegen.h
@@ -26,6 +26,9 @@ void emit_auto_type(ParserContext *ctx, ASTNode *init_expr, Token t, FILE *out);
char *codegen_type_to_string(Type *t);
void emit_func_signature(FILE *out, ASTNode *func, const char *name_override);
char *strip_template_suffix(const char *name);
+char *strip_template_suffix(const char *name);
+int emit_move_invalidation(ParserContext *ctx, ASTNode *node, FILE *out);
+void codegen_expression_with_move(ParserContext *ctx, ASTNode *node, FILE *out);
// Declaration emission (codegen_decl.c).
void emit_preamble(ParserContext *ctx, FILE *out);