aboutsummaryrefslogtreecommitdiff
path: root/src/errmsg.cpp
AgeCommit message (Collapse)Author
2020-02-10stage1: memory/report overhaulMichael 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()`
2020-01-11strip cwd from compile error pathsMichael Dusan
closes #43138
2020-01-11Stop dropping errors from clangLemonBoy
* Refactor the error-writing code to be more compact and flexible
2017-12-04Fix the color of compiler messages for light-themed terminal.MIURA Masahiro
2017-10-26better output when @cImport generates invalid zigAndrew Kelley
2017-10-02support terminal colors for cmd.exe and msys ptyAndrew Kelley
See #302
2017-09-05fix parseh bugsAndrew Kelley
2017-05-23building with mingw for windowsAndrew Kelley
2016-12-04add missing copyright noticesAndrew Kelley
2016-09-19use size_t for indexesAndrew Kelley
protect against incorrect copies in debug mode
2016-03-01rewrite how importing worksAndrew Kelley
* Introduce the concept of packages. Closes #3 * Add support for error notes. * Introduce `@import` and `@c_import` builtin functions and remove the `import` and `c_import` top level declarations. * Introduce the `use` top level declaration. * Add `--check-unused` parameter to perform semantic analysis and codegen on all top level declarations, not just exported ones and ones referenced by exported ones. * Delete the root export node and add `--library` argument.
2016-01-27fix crash when compiling empty fileAndrew Kelley
closes #90
2016-01-27upgrade to the libclang C++ APIAndrew Kelley
c_import creates a tmp .h file and parses it with libclang, reporting any errors found. See #88
2015-12-04error for extern function with void parameterAndrew Kelley
2015-12-01add --color cli arg to override tty detectionAndrew Kelley
2015-12-01colored error messages that tell the source fileAndrew Kelley