remove extra watch row column cases - simplify most cases down to expr / eval. use extra 'note' for watch window cells to annotate type info - this sacrifices the full type evaluation cell, and instead uses a small extra bit of text to denote the type for quick reading. but this full type cell is not needed in most cases, and it can always be reobtained with an explicit typeof evaluation.

This commit is contained in:
Ryan Fleury committed 2025-10-06 17:06:00 -07:00
1 parent 6f4e78d06c
commit 2a7177861b
7 files changed
+102 -135

No files matched your search

+1 -1
View File
@@ -114,6 +114,7 @@ struct RD_WatchCellList
RD_WatchCell *first;
RD_WatchCell *last;
U64 count;
F32 pct_sum;
};
typedef struct RD_WatchRowInfo RD_WatchRowInfo;
@@ -206,7 +207,6 @@ internal RD_CodeViewBuildResult rd_code_view_build(Arena *arena, RD_CodeViewStat
//- rjf: cell list building
internal U64 rd_id_from_watch_cell(RD_WatchCell *cell);
internal RD_WatchCell *rd_watch_cell_list_push(Arena *arena, RD_WatchCellList *list);
internal RD_WatchCell *rd_watch_cell_list_push_new_(Arena *arena, RD_WatchCellList *list, RD_WatchCell *params);
#define rd_watch_cell_list_push_new(arena, list, kind_, eval_, ...) rd_watch_cell_list_push_new_((arena), (list), &(RD_WatchCell){.kind = (kind_), .eval = (eval_), __VA_ARGS__})