zig/test/behavior
Thomas Ives 51efd553ae C backend: Improve lowering of Zig types to C types
1. Changed Zig pointers to functions to be typedef'd so then we can
   treat them the same as other types.

2. Distinguished between const slices (zig_L prefix) and mut slices
   (zig_M prefix).

3. Changed lowering of Zig "const pointers" (e.g. *const u8) to to C
   "pointers to const" (e.g. const char *) rather than C "const
   pointers" (e.g.  char * const)

4. Ensured that all typedefs are "linked" even if the decl doesn't
   require any forward declarations

5. Added test that exercises function pointer type rendering

6. Changed .slice_ptr instruction to allocate pointer local rather than
   a uintptr_t local
2021-11-10 12:39:47 -05:00
..
2021-10-21 19:05:26 -07:00
2021-10-21 19:05:26 -07:00
2021-10-26 16:43:18 -07:00
2021-10-28 17:33:05 -07:00
2021-08-30 18:50:07 -04:00
2021-10-05 23:05:14 -07:00
2021-10-05 21:38:47 -07:00
2021-10-21 19:05:26 -07:00
2021-10-21 19:05:26 -07:00
2021-10-26 15:43:57 -07:00
2021-10-21 19:05:26 -07:00
2021-10-24 17:11:43 +02:00
2021-07-26 20:05:48 -04:00