Add flow-based escape analysis of stack memory, reported as warnings

This commit is contained in:
gingerBill committed 2026-10-07 13:08:22 +01:00
1 parent 9a2321bf55
commit 8ea02cc733
4 files changed
+1839 -29

No files matched your search

+2
View File
@@ -2531,6 +2531,8 @@ gb_internal bool check_proc_body(CheckerContext *ctx_, Token token, DeclInfo *de
}
check_close_scope(ctx);
check_proc_escapes(type, body);
check_scope_usage(ctx->checker, ctx->scope, check_vet_flags(body));
add_deps_from_child_to_parent(decl);