aboutsummaryrefslogtreecommitdiff
path: root/src/checker.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-14 12:39:30 +0100
committergingerBill <bill@gingerbill.org>2024-07-14 12:39:30 +0100
commit3dff83f3dc2914cdfb9a8f19cf990682cda41b03 (patch)
tree216cbef3e900ba3d4291d7a49c03e61cf9b748ac /src/checker.hpp
parent8642d719f0ece3625d535d47b41ff4d35072f47f (diff)
Mock out `#no_capture` for future use
Diffstat (limited to 'src/checker.hpp')
-rw-r--r--src/checker.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker.hpp b/src/checker.hpp
index 17722f6b6..2fadbe56a 100644
--- a/src/checker.hpp
+++ b/src/checker.hpp
@@ -181,7 +181,7 @@ char const *ProcCheckedState_strings[ProcCheckedState_COUNT] {
"Checked",
};
-struct NoCaptureData {
+struct VariadicReuseData {
Type *slice_type; // ..elem_type
isize max_count;
};
@@ -224,7 +224,7 @@ struct DeclInfo {
Array<BlockLabel> labels;
- Array<NoCaptureData> no_captures;
+ Array<VariadicReuseData> variadic_reuses;
// NOTE(bill): this is to prevent a race condition since these procedure literals can be created anywhere at any time
struct lbModule *code_gen_module;