aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
AgeCommit message (Expand)Author
2018-12-19Fixed intToPtr to fn type when the address is hardcoded (#1842)Jimmi Holst Christensen
2018-12-18ir: delete dead codeAndrew Kelley
2018-12-17fix comptime pointer reinterpretation array index offsetAndrew Kelley
2018-12-16implement comptime pointer castAndrew Kelley
2018-12-12breaking API changes to all readInt/writeInt functions & moreAndrew Kelley
2018-12-05implement compile error note for function parameter type mismatchAndrew Kelley
2018-11-24refactor type_requires_comptime to have possible errorAndrew Kelley
2018-11-19Crash fixes and small improvements to inline asm. (#1756)Sahnvour
2018-11-19improve error message when wrong type returnedAndrew Kelley
2018-11-18fix assertion failure related to @intToEnumAndrew Kelley
2018-11-18all numbers with comptime known values implicitly castAndrew Kelley
2018-11-16Fixed #1663 and removed IrInstructionArrayLenJimmi Holst Christensen
2018-11-14** and ++ operators force comptime on operandsAndrew Kelley
2018-11-13New Zig formal grammar (#1685)Jimmi Holst Christensen
2018-11-11ir: remove redundant casting codeAndrew Kelley
2018-11-09array type syntax implies comptimeAndrew Kelley
2018-11-06limit integer types to maximum bit width of 65535Andrew Kelley
2018-10-31simplify logic of pass1 ir for while on error unionsAndrew Kelley
2018-10-30remove implicit cast from number literal to enumAndrew Kelley
2018-10-29remove another implicit cast to const pointerAndrew Kelley
2018-10-26remove @minValue,@maxValue; add std.math.minInt,maxIntAndrew Kelley
2018-10-25remove 3 more implicit casts to const pointersAndrew Kelley
2018-10-15remove implicit cast from T to *const TAndrew Kelley
2018-10-15Solve the return type ambiguity (#1628)Jimmi Holst Christensen
2018-10-04fix missing .h filesAndrew Kelley
2018-10-04refactor ir.cppAndrew Kelley
2018-09-26fix crash when compile error evaluating return...Andrew Kelley
2018-09-26the last number in a packed ptr is host int bytesAndrew Kelley
2018-09-26fix implicit casting to *c_voidAndrew Kelley
2018-09-25fix crash on runtime index into slice of comptime typeAndrew Kelley
2018-09-22fix @compileLog having unintended side effectsAndrew Kelley
2018-09-22add compile error for slice of undefined sliceAndrew Kelley
2018-09-21stage1: unify 2 implementations of pointer derefAndrew Kelley
2018-09-21fix comptime string concatenation ignoring slice boundsAndrew Kelley
2018-09-21fixupsAndrew Kelley
2018-09-21Merge branch 'BitByteOffsetOfs' of https://github.com/raulgrell/zig into raul...Andrew Kelley
2018-09-21fix comptime slice of pointer to arrayAndrew Kelley
2018-09-20add compile error for casting const array to mutable sliceAndrew Kelley
2018-09-20better string literal caching implementationAndrew Kelley
2018-09-18fix optional pointer to empty struct incorrectly being non-nullAndrew Kelley
2018-09-18add compile error for slice.*.lenAndrew Kelley
2018-09-18implementation for bitcasting extern enum type to c_intAndrew Kelley
2018-09-18fix implicit cast of packed struct field to const ptrAndrew Kelley
2018-09-18fix @embedFile reading garbage memoryAndrew Kelley
2018-09-18fix @bytesToSlice on a packed structAndrew Kelley
2018-09-17add compile error for @ptrCast 0 bit type to non-0 bit typeAndrew Kelley
2018-09-17add compile error for non-optional types compared against nullAndrew Kelley
2018-09-17fix crash when bit shifting a u1Andrew Kelley
2018-09-17dereferencing a *u0 is comptime-known to be 0Andrew Kelley
2018-09-14fix alignment of structsAndrew Kelley