zig/test
Andrew Kelley ada0010471 compiler: move unions into InternPool
There are a couple concepts here worth understanding:

Key.UnionType - This type is available *before* resolving the union's
fields. The enum tag type, number of fields, and field names, field
types, and field alignments are not available with this.

InternPool.UnionType - This one can be obtained from the above type with
`InternPool.loadUnionType` which asserts that the union's enum tag type
has been resolved. This one has all the information available.

Additionally:

* ZIR: Turn an unused bit into `any_aligned_fields` flag to help
  semantic analysis know whether a union has explicit alignment on any
  fields (usually not).
* Sema: delete `resolveTypeRequiresComptime` which had the same type
  signature and near-duplicate logic to `typeRequiresComptime`.
  - Make opaque types not report comptime-only (this was inconsistent
    between the two implementations of this function).
* Implement accepted proposal #12556 which is a breaking change.
2023-08-22 13:54:14 -07:00
..
behavior compiler: move unions into InternPool 2023-08-22 13:54:14 -07:00
c_abi c-abi: enable passing tests 2023-07-28 19:27:08 -04:00
cases compiler: move unions into InternPool 2023-08-22 13:54:14 -07:00
link macho: add smoke test for re-exports in static libs 2023-08-16 12:19:34 +02:00
src change uses of std.builtin.Mode to OptimizeMode (#16745) 2023-08-09 14:39:34 -04:00
standalone Merge pull request #16885 from squeek502/windows-selfExePath-symlink 2023-08-19 21:24:36 -07:00
assemble_and_link.zig
behavior.zig behavior: add coverage for no longer reproducing issue 2023-07-29 09:00:23 -07:00
cases.zig llvm: fix data layout calculation for experimental llvm targets 2023-08-01 19:20:22 -07:00
cbe.zig std.cstr: deprecate namespace 2023-06-25 14:51:03 -07:00
compare_output.zig std.cstr: deprecate namespace 2023-06-25 14:51:03 -07:00
compile_errors.zig cases: modify error wording to match new errors 2023-08-10 10:00:37 +01:00
gen_h.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
link.zig macho: add smoke test for re-exports in static libs 2023-08-16 12:19:34 +02:00
llvm_targets.zig llvm: fix data layout calculation for experimental llvm targets 2023-08-01 19:20:22 -07:00
nvptx.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
run_translated_c.zig translate-c: Use canonical type of field for flexible array definition 2023-08-15 23:59:07 -07:00
stack_traces.zig
standalone.zig Merge pull request #16885 from squeek502/windows-selfExePath-symlink 2023-08-19 21:24:36 -07:00
tests.zig build: add build test check for availability of IOS SDK on the host 2023-08-18 11:57:12 +02:00
translate_c.zig translate-c: Use @constCast and @volatileCast to remove CV-qualifiers 2023-06-29 23:36:56 +03:00