Commits

AstGen: add compile error for decl name conflicts

8344a50e1c • Andrew Kelley • May 14, 2021

std: dragonfly: fix duplicate definition of sockaddr_storage

93896ef860 • Andrew Kelley • May 14, 2021

stage2: fix tests expected values

134853f106 • Andrew Kelley • May 14, 2021

Sema: remove compile error for comptime function calls

579694893e • Andrew Kelley • May 14, 2021

CLI repl: "run" command handles cross compiled binaries

2cee19ab21 • Andrew Kelley • May 14, 2021

link: fix memory leak of system_libs

a854795f52 • Andrew Kelley • May 14, 2021

link/MachO: fixes to debug symbols

edab03bc22 • Andrew Kelley • May 14, 2021

AstGen: fix elision of store_to_block_ptr for condbr

78632894da • Andrew Kelley • May 14, 2021

Sema: detect and skip over elided instructions

e83cf6a454 • Andrew Kelley • May 13, 2021

stage2: fix test cases to add `pub` on exported _start fn

b109daacdd • Andrew Kelley • May 13, 2021

stage2: fix source location of Decl compile errors

c102e13710 • Andrew Kelley • May 13, 2021

stage2: build and provide libunwind when compiling for native libc

a7aa3ca66c • Andrew Kelley • May 13, 2021

stage2: fix handling of "prev successful ZIR"

344dc0cc0f • Andrew Kelley • May 13, 2021

std: fix redundant comptime keywords

417b5b1daa • Andrew Kelley • May 13, 2021

Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen

1ab3dff846 • Andrew Kelley • May 13, 2021

Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen

c9cc09a3bf • Andrew Kelley • May 12, 2021

stage2: more Decl lifetime fixes

71afc30880 • Andrew Kelley • May 12, 2021

stage2: improve Decl lifetime management

1ab1a96f87 • Andrew Kelley • May 12, 2021

Sema: implement duplicate enum tag compile error

d7567c06fd • Andrew Kelley • May 12, 2021

stage2: lookupIdentifier can return error.AnalysisFailed

7873e4f588 • Andrew Kelley • May 12, 2021

stage2: better handling of file-level compile errors across updates

cbbc7cc8b1 • Andrew Kelley • May 12, 2021

stage2: update tests now that structs have fully qualified names

5d9fc11d18 • Andrew Kelley • May 11, 2021

C backend: fix emitting '$' in identifier names

a74632b50a • Andrew Kelley • May 11, 2021

AstGen: support emitting multiple compile errors

fb39526159 • Andrew Kelley • May 11, 2021

stage2: add `owns_tv` flag to `Module.Decl`

bcf15e39e2 • Andrew Kelley • May 11, 2021

stage2: struct, union, enum, opaque, error sets get better names

dae22a0a1f • Andrew Kelley • May 11, 2021

stage2: type declarations ZIR encode AnonNameStrategy

b9a099e83c • Andrew Kelley • May 11, 2021

stage1: ignore enum ContainerLayout for comptime memory purposes

9e72f31735 • Andrew Kelley • May 11, 2021

stage2 test harness: report multiple failures

6361d7a928 • Andrew Kelley • May 8, 2021

Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen

5619ce2406 • Andrew Kelley • May 8, 2021

stage2: fully qualified names and better anonymous names

5cd9afc6b6 • Andrew Kelley • May 8, 2021

Sema: fix `@setEvalBranchQuota` incorrectly requiring a function body

aa0352fad6 • Andrew Kelley • May 8, 2021

AstGen: fix incorrect logic for adding implicit return instruction

b98a753b52 • Andrew Kelley • May 8, 2021

Type: fix abiAlignment calculation for unions

3d351c91d8 • Andrew Kelley • May 8, 2021

Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen

b6bb0ee1ac • Andrew Kelley • May 8, 2021

stage2: fix struct inits not getting fields resolved

28353b3159 • Andrew Kelley • May 8, 2021

ZIR: implement iteration over switch instructions

73bf53069d • Andrew Kelley • May 8, 2021

std: start code on linux when -lc also expands stack size

6ec24a6502 • Andrew Kelley • May 8, 2021

std: start code increases stack size as appropriate on linux

f69cf93064 • Andrew Kelley • May 8, 2021

stage2: fix stack overflow in `@setEvalBranchQuota` test case

d577654e66 • Andrew Kelley • May 8, 2021

stage2: implement global variables

81d5104e22 • Andrew Kelley • May 8, 2021

stage2: no '$' in anonymous decl names

e7c4d545cd • Andrew Kelley • May 7, 2021

stage2: implement extern functions

6ac2047142 • Andrew Kelley • May 7, 2021

Sema: support enough to check main calling convention via `@typeInfo`

47531b7d93 • Andrew Kelley • May 7, 2021

Sema: implement `@typeInfo` for functions

a7221ef4e9 • Andrew Kelley • May 7, 2021

stage2: CBE tests `pub export` instead of `export` main

3acd98fa34 • Andrew Kelley • May 7, 2021

stage2: fix compile errors in test harness

7dd33d4316 • Andrew Kelley • May 7, 2021

CLI: add an update-and-run cmd and make enter re-run last cmd

9b9ea405ef • Andrew Kelley • May 7, 2021

stage2: wire up outdated/deleted decl detection

cdea22f5d7 • Andrew Kelley • May 7, 2021

CLI: add 'run' command to the repl

3791cd6781 • Andrew Kelley • May 6, 2021

std.ArrayHashMap: ensureUnusedCapacity and ensureTotalCapacity

426e4c784c • Andrew Kelley • May 6, 2021

stage2: fix contents hash computation

17067e0e6b • Andrew Kelley • May 6, 2021

stage2: mapping old to new ZIR recursively

9b1aac8a65 • Andrew Kelley • May 5, 2021

std.ArrayList: add clearRetainingCapacity and clearAndFree

c714a3250f • Andrew Kelley • May 5, 2021

stage2: add `zig changelist` debug command

5d7f2697de • Andrew Kelley • May 5, 2021

std: fix compile errors found by stage2

6b5d0b3711 • Andrew Kelley • May 5, 2021

Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen

fc40d23723 • Andrew Kelley • May 5, 2021

Sema: restore the extern lib name functionality

7a27f0d80c • Andrew Kelley • May 4, 2021

stage2: test coverage for inline asm return type not type

1f0fd64302 • Andrew Kelley • May 4, 2021

Sema: implement error sets

edfbf85ecd • Andrew Kelley • May 4, 2021

stage2: fix "other symbol here" error note

230ce72f16 • Andrew Kelley • May 4, 2021

stage2: fix structs and enums setting wrong owner_decl

3dafec0acd • Andrew Kelley • May 4, 2021

build.zig: add -Dmem-leak-frames option

2910b10033 • Andrew Kelley • May 4, 2021

Sema: implement ExportOptions support in `@export`

2ae72c6f09 • Andrew Kelley • May 4, 2021

ZIR: typeof uses the un_node field not un_tok

69d18ad7f0 • Andrew Kelley • May 4, 2021

Sema: implement struct_decl instruction

95b014caea • Andrew Kelley • May 4, 2021

ZIR: implement debug text printing for struct_init and friends

aa4e9399db • Andrew Kelley • May 3, 2021

stage2: hook up semantic analysis of struct fields

773902e9de • Andrew Kelley • May 3, 2021

stage2: make struct field analysis lazy

807a8b6f75 • Andrew Kelley • May 3, 2021

AstGen: fix outdated doc comment

5f4c52209e • Andrew Kelley • May 3, 2021

AstGen: decouple from Module/Compilation

a973c362e5 • Andrew Kelley • May 3, 2021

stage2: fix error reporting not loading AST

d5f77c0bab • Andrew Kelley • May 2, 2021

stage2: test decls encode that they are tests in ZIR

0611aa3985 • Andrew Kelley • May 2, 2021

Sema: fix struct decl decoding ZIR incorrectly

4dd724d06a • Andrew Kelley • May 2, 2021

stage2: dbg_stmt ZIR instructions have line/col

eadcefc124 • Andrew Kelley • May 2, 2021

std.GeneralPurposeAllocator: print leaked memory addresses

6248e2a560 • Andrew Kelley • May 2, 2021

Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen

dc28f5c3ec • Andrew Kelley • May 1, 2021

stage2: implement function body analysis

351b57497b • Andrew Kelley • May 1, 2021

stage2: introduce new ZIR instruction: arg

077b8d3def • Andrew Kelley • May 1, 2021

Sema: implement function declarations

db7acd83d2 • Andrew Kelley • Apr 30, 2021

start.zig: unconditionally import the root source file

fb95fd8443 • Andrew Kelley • Apr 30, 2021

stage2: un-tangle memory management of Decl and Namespace

2d8d681b5e • Andrew Kelley • Apr 30, 2021

stage2: fix File incorrectly freeing its Namespace

5d696b0706 • Andrew Kelley • Apr 30, 2021

stage2: properly free Decl name

8ab4a003c8 • Andrew Kelley • Apr 30, 2021

std: fix compile errors found by stage2 AstGen

474ade88b5 • Andrew Kelley • Apr 30, 2021

AstGen: represent global variables directly

8944240aec • Andrew Kelley • Apr 30, 2021

AstGen: implement extern variables

86d564eed8 • Andrew Kelley • Apr 30, 2021

AstGen: implement function prototypes with alignment exprs

ba9b9cb38d • Andrew Kelley • Apr 30, 2021

AstGen: fix comptime compile error source location

2eef83e85f • Andrew Kelley • Apr 30, 2021

Sema: rename TZIR to AIR

47585cbe12 • Andrew Kelley • Apr 30, 2021

Sema: skip analysis of empty enum blocks

478dac5346 • Andrew Kelley • Apr 30, 2021

AstGen: implement anytype struct fields

9e49a65e1b • Andrew Kelley • Apr 30, 2021

AstGen: implement comptime struct fields

55e86b724a • Andrew Kelley • Apr 29, 2021

std.enums: remove stuff for enums with field aliases

fb4cb430e0 • Andrew Kelley • Apr 29, 2021

move behavior tests from test/stage1/ to test/

4307436b99 • Andrew Kelley • Apr 29, 2021

update behavior tests with respect to new builtin pkg

5a02c938da • Andrew Kelley • Apr 29, 2021

tests: prepare behavior tests for stage2

eb53680bce • Andrew Kelley • Apr 29, 2021

stage2: fix scanDecls not advancing the field bits

d36a31ba75 • Andrew Kelley • Apr 29, 2021

std: remove redundant comptime keyword

c60d8f017e • Andrew Kelley • Apr 29, 2021

stage2: implement semantic analysis for functions and global vars

0c71d2fdc1 • Andrew Kelley • Apr 29, 2021