Improve //+vet; remove using in many places; add //+vet !using-stmt where necessary

This commit is contained in:
gingerBill
2023-07-31 11:37:14 +01:00
parent 60e509b1e0
commit 0de7df9eab
14 changed files with 212 additions and 202 deletions
+2 -6
View File
@@ -449,12 +449,8 @@ struct CheckerContext {
Ast *assignment_lhs_hint;
};
u64 check_vet_flags(CheckerContext *c) {
if (c->file && c->file->vet_flags_set) {
return c->file->vet_flags;
}
return build_context.vet_flags;
}
gb_internal u64 check_vet_flags(CheckerContext *c);
gb_internal u64 check_vet_flags(Ast *node);
struct Checker {