wildcard instance identifier resolution in type views; ?{arg1, arg2, arg3} in type view pattern -> use arg1, arg2, or arg3 in expression

This commit is contained in:
Ryan Fleury
2025-05-28 15:41:48 -07:00
parent 1d72de8c4a
commit f116d88b08
6 changed files with 62 additions and 3 deletions
+3
View File
@@ -683,6 +683,7 @@ typedef struct E_AutoHookWildcardInst E_AutoHookWildcardInst;
struct E_AutoHookWildcardInst
{
E_AutoHookWildcardInst *next;
String8 name;
E_Expr *inst_expr;
};
@@ -1082,6 +1083,8 @@ struct E_Cache
//- rjf: [ir] ir gen options
B32 disallow_autohooks;
B32 disallow_chained_fastpaths;
E_AutoHookWildcardInst *first_wildcard_inst;
E_AutoHookWildcardInst *last_wildcard_inst;
//- rjf: [ir] ir caches
E_UsedExprMap *used_expr_map;