aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
AgeCommit message (Collapse)Author
2018-09-16fix crash when pointer casting a runtime extern functionAndrew Kelley
2018-09-14fix alignment of structsAndrew Kelley
closes #1248 closes #1052 closes #1154
2018-09-14fix coroutine alignmentAndrew Kelley
zig returned the wrong alignment for coroutine promises in some cases
2018-09-13remove `this`. add `@This()`.Andrew Kelley
closes #1283
2018-09-13add compile error for merging non- error setsAndrew Kelley
closes #1509
2018-09-13fix tagged union with only 1 field tripping assertionAndrew Kelley
closes #1495 now the tag type of an enum with only 1 item is comptime_int.
2018-09-11error messages for attempted cache when zig cannot perfectly do itAndrew Kelley
2018-09-11Merge remote-tracking branch 'origin/master' into stage1-cachingAndrew Kelley
2018-09-11fix incorrect error union const value generationAndrew Kelley
closes #1442 zig needed to insert explicit padding into this structure before it got bitcasted.
2018-09-11ability to disable cache. off by default except for...Andrew Kelley
...zig run, zig build, compiler_rt.a, and builtin.a
2018-09-10fix llvm assertion and missing compile errorAndrew Kelley
2018-09-07improve panic message from previous commitAndrew Kelley
2018-09-07C ABI: support returning large structs on x86_64Andrew Kelley
also panic instead of emitting bad code for returning small structs See #1481
2018-09-07stage1: refactor fn type analysis to use C ABI walk fnAndrew Kelley
2018-09-07stage1: c abi for big struct worksAndrew Kelley
2018-09-06add C ABI testsAndrew Kelley
2018-09-05stage1: improve handling of generic fn proto type exprAndrew Kelley
closes #902
2018-09-05add compile error for using outer scoped runtime variablesAndrew Kelley
from a fn defined inside it. closes #876
2018-09-05stage1: rename more TypeTableEntry types to ZigTypeAndrew Kelley
2018-09-05stage1: rename VariableTableEntry to ZigVarAndrew Kelley
2018-09-05stage1: rename FnTableEntry to ZigFnAndrew Kelley
2018-09-05stage1: rename TypeTableEntry to ZigTypeAndrew Kelley
2018-09-04stage1: use os_path_resolve instead of os_path_realAndrew Kelley
to canonicalize imports. This means that softlinks can represent different files, but referencing the same absolute path different ways still references the same import.
2018-09-04add compile error for comptime control flow inside runtime blockAndrew Kelley
closes #834
2018-09-03compile errors for unimplemented minValue/maxValue builtinsAndrew Kelley
2018-08-28add compile error for function prototype with no bodyAndrew Kelley
closes #1231
2018-08-27this was intended to be included in the previous commitAndrew Kelley
2018-08-27fix false negative determining if function is genericAndrew Kelley
This solves the smaller test case of #1421 but the other test case is still an assertion failure.
2018-08-25Merge remote-tracking branch 'origin/master' into macos-stack-tracesAndrew Kelley
2018-08-25fix regressionsAndrew Kelley
2018-08-25fix stack traces on linuxAndrew Kelley
2018-08-23fix error message for incorrect panic handler fn signatureAndrew Kelley
closes #1353
2018-07-27remove ability to break from suspend blocksAndrew Kelley
closes #803
2018-07-26coroutines have 3 more bits of atomic stateAndrew Kelley
2018-07-26add compile error for ignoring return value of while loop bodiesAndrew Kelley
closes #1049
2018-07-24self-hosted: function types use table lookupAndrew Kelley
2018-07-24fix logic for determining whether param requires comptimeAndrew Kelley
closes #778 closes #1213
2018-07-20self-hosted: share C++ code for finding libc on windowsAndrew Kelley
2018-07-18Allow pointers to anything in extern/exported declarations (#1258)Jimmi Holst Christensen
* type_allowed_in_extern accepts all ptr not size 0 * Generate correct headers for none extern structs/unions/enums
2018-07-16all integer sizes are available as primitivesAndrew Kelley
* fix wrong implicit cast for `@IntType` bit_count parameter. * fix incorrect docs for `@IntType` bit_count parameter. closes #1242 closes #745 closes #1240
2018-07-11add compile error for disallowed types in extern structsAndrew Kelley
closes #1218
2018-07-07add @popCount intrinsicAndrew Kelley
2018-07-06add compile error notes for where struct definitions areAndrew Kelley
closes #1202
2018-07-03fix runtime libc detection depending on localeAndrew Kelley
closes #1165
2018-06-30Merge pull request #1167 from ziglang/comptime-array-by-valueJimmi Holst Christensen
Implement const_values_equal for arrays
2018-06-30Revert "ir_resolve_const now checks recursivly for undef values"Jimmi Holst Christensen
This reverts commit 4c3f27ce1ea17b5236a022971ebace73a02b7c2b.
2018-06-30Revert "contains_comptime_undefined_value should not follow pointers"Jimmi Holst Christensen
This reverts commit 58b1692182dc2f8da5b535f59e9a89cfab10a7b6.
2018-06-29contains_comptime_undefined_value should not follow pointersJimmi HC
2018-06-29ir_resolve_const now checks recursivly for undef valuesJimmi HC
2018-06-29Assert that array is not ConstArraySpecialUndef in const_values_equalJimmi HC