aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/union.zig
AgeCommit message (Expand)Author
2022-09-09stage2 ARM: implement ptr_elem_valjoachimschmidt557
2022-09-02Sema: improve behavior of comptime_int backed enumsVeikka Tuominen
2022-09-02stage2 llvm: correct handling of zero-bit types in unionFieldPtrVeikka Tuominen
2022-08-30stage2 llvm: use tag value instead of field index in airUnionInitVeikka Tuominen
2022-08-27Sema: add error for non-comptime param in comptime funcantlilja
2022-08-24stage2: explicitly tagged enums no longer have one possible valueAndrew Kelley
2022-08-21Sema: handle union and enum field order being differentVeikka Tuominen
2022-08-17Sema: properly handle noreturn fields in unionsVeikka Tuominen
2022-07-27LLVM: fix returning extern union with C callconvAndrew Kelley
2022-07-23Sema: bad union field access safetyVeikka Tuominen
2022-07-21Sema: fix non-exhaustive union switch checksVeikka Tuominen
2022-07-11Sema: allow `void` as an extern union field & fix invalid extern unionsVeikka Tuominen
2022-06-30LLVM: fix lowering of untagged union typesAndrew Kelley
2022-06-25stage2 ARM: implement basic intCast and error union wrappingjoachimschmidt557
2022-06-12Sema: add missing set_union_tagVeikka Tuominen
2022-05-27stage2 AArch64: complete genTypedValuejoachimschmidt557
2022-05-19x64: re-enable behavior testsJakub Konka
2022-04-12Sema: fix comptime equality of extern unions with same tagAndrew Kelley
2022-03-28stage2 llvm: fix union init of byRef valuesVeikka Tuominen
2022-03-25Sema: implement zirStructInit for runtime-known union valuesVeikka Tuominen
2022-03-23stage2 CBE: Improve support for unions and error setsCody Tapscott
2022-03-19wasm: Enable passing testsLuuk de Gram
2022-03-15Sema: only do store_ptr tuple optimization for arraysAndrew Kelley
2022-03-13stage2: add debug info for locals in the LLVM backendAndrew Kelley
2022-03-09wasm: Enable passing behavior testsLuuk de Gram
2022-03-07Sema: fix `@hasDecl` for simple enumsAndrew Kelley
2022-03-07stage2: fix union layout returning non-zero for zero-sized tagAndrew Kelley
2022-03-02Sema: implement cast from anon struct ptr to union ptrAndrew Kelley
2022-03-02Sema: add coercion from anon structs to unionsAndrew Kelley
2022-03-02Sema: detect comptime-known union initializationsAndrew Kelley
2022-03-01Merge pull request #11016 from ziglang/x64-more-codegenJakub Konka
2022-02-28Sema: fix pointer type hash and equality functionsAndrew Kelley
2022-02-28x64: implement get_union_tag for registerJakub Konka
2022-02-28x64: clean up loadMemPtrIntoRegister abstractionJakub Konka
2022-02-28Merge pull request #11012 from ziglang/x64-union-tagJakub Konka
2022-02-28x64: fix switch condition mir; pass more union testsJakub Konka
2022-02-28x64: fix store with ABI size > 8 on stack; pass union testsJakub Konka
2022-02-27stage2 ARM: enable more behavior testsjoachimschmidt557
2022-02-26stage2: implement `@unionInit`Andrew Kelley
2022-02-26Sema: implement union value equality at comptimeAndrew Kelley
2022-02-26Sema: implement `@enumToInt` for unionsAndrew Kelley
2022-02-26Sema: Module.Union.abiAlignment can return 0Andrew Kelley
2022-02-25macho: redo selection of segment/section for decls and constsJakub Konka
2022-02-22x64: disable printing results on macos until I fix the linkerJakub Konka
2022-02-22Port more behavior testsJakub Konka
2022-02-21Sema: fix union auto-enum numberingAndrew Kelley
2022-02-21Sema: fix comptime union initializationAndrew Kelley
2022-02-12move more behavior tests to the "passing" sectionAndrew Kelley
2022-02-10stage2: LLVM backend: make unnamed struct globalsAndrew Kelley
2022-01-25wasm: Implement genTypedValue for enumsLuuk de Gram