zig/test
Andrew Kelley 581edd643f
backport copy elision changes
This commit contains everything from the copy-elision-2
branch that does not have to do with copy elision directly,
but is generally useful for master branch.

 * All const values know their parents, when applicable, not
   just structs and unions.
 * Null pointers in const values are represented explicitly,
   rather than as a HardCodedAddr value of 0.
 * Rename "maybe" to "optional" in various code locations.
 * Separate DeclVarSrc and DeclVarGen
 * Separate PtrCastSrc and PtrCastGen
 * Separate CmpxchgSrc and CmpxchgGen
 * Represent optional error set as an integer, using the 0 value.
   In a const value, it uses nullptr.
 * Introduce type_has_one_possible_value and use it where applicable.
 * Fix debug builds not setting memory to 0xaa when storing
   undefined.
 * Separate the type of a variable from the const value of a variable.
 * Use copy_const_val where appropriate.
 * Rearrange structs to pack data more efficiently.
 * Move test/cases/* to test/behavior/*
 * Use `std.debug.assertOrPanic` in behavior tests instead of
   `std.debug.assert`.
 * Fix outdated slice syntax in docs.
2019-01-29 22:30:30 -05:00
..
stage1 backport copy elision changes 2019-01-29 22:30:30 -05:00
stage2 fix race conditions in self-hosted compiler; add test 2018-07-24 21:28:54 -04:00
standalone New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
assemble_and_link.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
build_examples.zig disable C ABI tests on macos due to LLD deficiency 2018-10-06 00:06:36 -04:00
cli.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
compare_output.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
compile_errors.zig backport copy elision changes 2019-01-29 22:30:30 -05:00
gen_h.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
runtime_safety.zig fix @intCast not catching negative numbers to unsigned 2018-11-24 14:36:16 -05:00
tests.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00
translate_c.zig New Zig formal grammar (#1685) 2018-11-13 05:08:37 -08:00