| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-09-21 | rename src-self-hosted/ to src/ | Andrew Kelley | |
| 2020-05-17 | Fix compilation with GCC 5 | Noam Preil | |
| 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-02-10 | stage1: memory/report overhaul | Michael Dusan | |
| - split util_base.hpp from util.hpp - new namespaces: `mem` and `heap` - new `mem::Allocator` interface - new `heap::CAllocator` impl with global `heap::c_allocator` - new `heap::ArenaAllocator` impl - new `mem::TypeInfo` extracts names without RTTI - name extraction is enabled w/ ZIG_ENABLE_MEM_PROFILE=1 - new `mem::List` takes explicit `Allocator&` parameter - new `mem::HashMap` takes explicit `Allocator&` parameter - add Codegen.pass1_arena and use for all `ZigValue` allocs - deinit Codegen.pass1_arena early in `zig_llvm_emit_output()` | |||
