aboutsummaryrefslogtreecommitdiff
path: root/src/AstGen.zig
AgeCommit message (Expand)Author
2022-09-24AstGen: reset anon_name_strategy for sub expressionsVeikka Tuominen
2022-09-21AstGen: store void to ptr result loc when there is no else branchkkHAIKE
2022-09-21AstGen: make loop body's ResultLoc .nonekkHAIKE
2022-09-21stage2: free up 2 ZIR tagsAndrew Kelley
2022-09-20safety: show error return trace when unwrapping error in switchVeikka Tuominen
2022-09-15Sema: check_comptime_control_flow needs to check runtime_indexVeikka Tuominen
2022-09-13validate number literals in AstGenVeikka Tuominen
2022-09-12remove pointless discardsAndrew Kelley
2022-09-12stage2: change how defers are stored in ZirVeikka Tuominen
2022-09-02AstGen: use reachableExpr for try operandVeikka Tuominen
2022-08-30Sema: shift of comptime int with runtime valueVeikka Tuominen
2022-08-28AstGen: add error for named function typeVeikka Tuominen
2022-08-24Merge pull request #12623 from Vexu/stage2-fixesAndrew Kelley
2022-08-24AstGen: make root decls relative to beginning of fileVeikka Tuominen
2022-08-22stage2+stage1: remove type parameter from bit builtinsVeikka Tuominen
2022-08-18AstGen: disallow leading zeroes in int literals and int typeszooster
2022-08-17Sema: allow empty enums and unionsVeikka Tuominen
2022-08-16AstGen: detect declarations shadowing localsVeikka Tuominen
2022-08-13stage2 astgen: Use `rl` semantics for `@Type`Cody Tapscott
2022-08-10stage2: Implement explicit backing integers for packed structsIsaac Freund
2022-08-09stage2: generate call arguments in separate blocksVeikka Tuominen
2022-08-09Merge pull request #12383 from ziglang/stage2-stack-tracesAndrew Kelley
2022-08-09stage2: correct node offset of nested declarationsVeikka Tuominen
2022-08-08AstGen: emit debug stmt for tryAndrew Kelley
2022-08-08AstGen: avoid multiple dbg_stmt instructions in a rowAndrew Kelley
2022-08-08stage2: error return tracing handles ret betterAndrew Kelley
2022-08-08stage2: pass anon name strategy to reifyVeikka Tuominen
2022-08-06stage2: add a helpful error for when async is usedVeikka Tuominen
2022-08-03AstGen: better source location for if/while condition unwrappingVeikka Tuominen
2022-08-03AstGen: check loop bodies and else branches for unused resultVeikka Tuominen
2022-08-03AstGen: add error for break/continue out of defer expressionVeikka Tuominen
2022-08-01stage2: better source location for var declsVeikka Tuominen
2022-07-29stage2: handle tuple init edge casesVeikka Tuominen
2022-07-29stage2: add error for comptime control flow in runtime blockVeikka Tuominen
2022-07-27AstGen: fix ref instruction injection for functionsAndrew Kelley
2022-07-27AstGen: add `dbg_stmt`s for `unreachable` and `@panic`Veikka Tuominen
2022-07-26AstGen: disable null bytes and empty stings in some placesVeikka Tuominen
2022-07-24stage2: implement `noinline fn`Meghan
2022-07-23Sema: validate duplicate fields in anon structsVeikka Tuominen
2022-07-23AstGen: make comptime fields in packed and extern structs compile errorsVeikka Tuominen
2022-07-23Sema: bad union field access safetyVeikka Tuominen
2022-07-23move passing safety tests to stage2Veikka Tuominen
2022-07-21AstGen: add error for fields in opaque typesVeikka Tuominen
2022-07-21Sema: more union and enum tag type validationVeikka Tuominen
2022-07-21stage2: better pointer source locationVeikka Tuominen
2022-07-13AstGen: fix loop control flow applying to wrong loopAndrew Kelley
2022-07-13stage2: lower each struct field type, align, init separatelyAndrew Kelley
2022-07-07Merge pull request #12016 from Vexu/stage2-compile-errorsAndrew Kelley
2022-07-07AstGen: fix catch payoad not checking for shadowingemma
2022-07-07stage2: move C pointer allowzero error to AstGenVeikka Tuominen