| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-04-21 | ir: analyze int casting | Andrew Kelley | |
| 2020-04-21 | Added peer type resolution for [*]T and *[N]T. | elucent | |
| 2020-04-21 | cleanup: IrBasicBlockGen | Michael Dusan | |
| remove unused param from `ir_ref_inst_gen` | |||
| 2020-04-21 | cleanup: IrBasicBlockGen | Michael Dusan | |
| remove unused members { parent, index, ref_count } | |||
| 2020-04-20 | stage1: Handle errors when generating block IR | LemonBoy | |
| Closes #5005 | |||
| 2020-04-19 | fix uninitialized ZigValue | xackus | |
| 2020-04-18 | fix typeInfo tests | Vexu | |
| 2020-04-17 | add error for non-exter variadic functions | Vexu | |
| 2020-04-17 | fix missing compile errors on builtin cast functions | Vexu | |
| 2020-04-14 | Shift error message now says "fixed-width integer type" instead of just ↵ | foobles | |
| "integer type" (#5028) * error message of ir_analyze_bit_shift now more accurate/specific * fixed compile error test to match bit shift error message | |||
| 2020-04-09 | add error message for invalid assignment | Vexu | |
| 2020-04-08 | Merge pull request #4975 from Vexu/param-reassign | Andrew Kelley | |
| Fix missing compile error on assign to slice and array parameters | |||
| 2020-04-08 | fix formatted printing warning | Andrew Kelley | |
| needed to use ZIG_PRI_u64 instead of %lu | |||
| 2020-04-08 | move array and struct const checks to more appropriate places | Vexu | |
| 2020-04-07 | fix lazy value in ir_analyze_instruction_elem_ptr | xackus | |
| 2020-04-08 | fix missing compile error on assign to slice and array parameters | Vexu | |
| 2020-04-07 | fix missing const on address of literal | Vexu | |
| 2020-04-06 | ir: Support tuple multiplication | LemonBoy | |
| 2020-04-05 | ir: Support shift left/right on vectors | LemonBoy | |
| 2020-04-05 | ir: Support bitwise not on vectors | LemonBoy | |
| 2020-04-05 | ir: Support div/mod/rem on vector types | LemonBoy | |
| Closes #4050 | |||
| 2020-04-04 | stage1: Byteswap floats when serializing them | LemonBoy | |
| 2020-04-04 | stage1: Fix serialization of ZigValue on BE machines | LemonBoy | |
| 2020-04-03 | stage1: add compile errors for sentinel slicing | Michael Dusan | |
| closes #3963 | |||
| 2020-04-01 | zig cc properly handles -S flag and .ll, .bc extensions | Andrew Kelley | |
| 2020-04-01 | ir: Fix comparison of ?T values | LemonBoy | |
| The code assumed that every ?T had a pointer child type T, add some more checks to make sure the type is effectively a pointer. Closes #4789 | |||
| 2020-04-01 | stage1: make C++ switch fallthrough an error | Michael Dusan | |
| Make fallthrough an error when compiler supports it. This requires a new macro that is defined with such compilers to be used as a statement, at all fallthrough sites: switch (...) { case 0: ... ZIG_FALLTHROUGH; case 1: ... break; default: ... break; } If we ever move to C++17 as minimal requirement, then the macro can be replaced with `[[fallthrough]];` at statement sites. | |||
| 2020-04-01 | Make sure that ZigTypeVector and ZigTypeArray have the same memory layout | Timon Kruiper | |
| Throughout the stage1 code it is assumed that these have the same layout, but that was not the case. This caused an issue on 32-bit hardware. | |||
| 2020-04-01 | Fix some nullptr dereferences on arm-linux-musleabhif | Timon Kruiper | |
| 2020-03-30 | add peer type resolution for mixed-const []T and *[N]T | Andrew Kelley | |
| closes #4766 This commit also fixes the implementation of some utility functions for adjusting properties of pointer types. Previously these functions would incorrectly drop vector, sentinel, and inference metadata. | |||
| 2020-03-30 | ir: Avoid constant-folding ptr to sentinels | LemonBoy | |
| Constant-folding the pointers to the expected sentinel value have some big problems: it hides the real content of the array, makes the pointer to the sentinel point to a completely different memory region and treats it like a const value even when the underlying array is mutable. Fixes #4840 | |||
| 2020-03-26 | fix behavior tests compile error on i386-linux | Andrew Kelley | |
| 2020-03-26 | prevent ptr cast from forcing alignment resolution unnecessarily | Andrew Kelley | |
| 2020-03-25 | fix an invalid free having to do with bound functions | Andrew Kelley | |
| this should fix the drone CI failure | |||
| 2020-03-24 | Merge remote-tracking branch 'origin/llvm10' | Andrew Kelley | |
| LLVM 10 was released today | |||
| 2020-03-23 | ir: Prevent crash when slicing hardcoded pointer | LemonBoy | |
| Closes #4780 | |||
| 2020-03-22 | riscv: add -mrelax arg for C to work around upstream issue | Andrew Kelley | |
| See #4485 | |||
| 2020-03-22 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-03-22 | ir: Implement cast from anon struct to union | LemonBoy | |
| 2020-03-22 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-03-21 | ir: Disallow comparison between enum literal and untagged enum | LemonBoy | |
| Closes #4770 | |||
| 2020-03-21 | ir: Allow errdefer with payload | LemonBoy | |
| Closes #1265 | |||
| 2020-03-20 | ir: Peer type resolution between ?[]T and *[N]T | LemonBoy | |
| Closes #4767 | |||
| 2020-03-19 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-03-19 | fix compile error for reading past end of pointer casted array | Andrew Kelley | |
| 2020-03-19 | fix incorrect sentinel check | Andrew Kelley | |
| 2020-03-19 | slicing sentinel-terminated slice without end | Andrew Kelley | |
| now results in a sentinel-terminated slice. | |||
| 2020-03-19 | std lib fixups for new semantics | Andrew Kelley | |
| std lib tests are passing now | |||
| 2020-03-19 | partial revert of an improvement this branch made | Andrew Kelley | |
| because it uncovered a result location bug, and I need to get this branch merged before going into a result location rabbit hole. also fix the result type of slicing when the indexes are runtime known and the result should be sentinel terminated. | |||
| 2020-03-19 | when result loc is a slice, avoid evaluating lazy start..end | Andrew Kelley | |
| This prevents lazy values from being unnecessarily evaluated. | |||
