| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | c: __attribute__ after declarator | 2026-03-23 | 1 | -0/+1 | |
| | | |||||
| * | c: __attribute__ in more places | 2026-03-23 | 1 | -0/+2 | |
| | | |||||
| * | c: remove inline 'backing' type tag for enums | 2026-03-23 | 1 | -1/+0 | |
| | | | | | | | | | | | It was meant as a micro-optimization but actually keeping it in sync was annoying. This for example was broken: ``` extern enum foo { ... } g_foo; enum foo g_foo; ``` | ||||
| * | style: change uvlong -> u64int, vlong -> s64int | 2026-03-22 | 1 | -16/+16 | |
| | | | | | | Is much nicer. I don't know whether I want to do it for the other int types too. char and uchar are fine as bytes. u/short -> u/s16int, maybe. | ||||
| * | IR: add 3rd operand to Instr | 2026-03-22 | 1 | -3/+3 | |
| | | | | | | The motivation is for aarch64 msub/madd instrs, for isel to produce. But it should be useful for other things too. | ||||
| * | Rework handling of predefined macros. | 2026-03-21 | 1 | -3/+3 | |
| | | | | | And add some GCC predefs like __SIZE_TYPE__, __LONG_SIZE__, etc | ||||
| * | c: fix crash with dead code in condexpr | 2026-03-20 | 1 | -1/+2 | |
| | | |||||
| * | c: better preserve source location in some cases | 2026-03-20 | 1 | -2/+4 | |
| | | |||||
| * | io: make -w suppress notes too | 2026-03-20 | 1 | -6/+6 | |
| | | |||||
| * | c: fix isboollike() for phis | 2026-03-19 | 1 | -2/+3 | |
| | | |||||
| * | c: fix qualifiers for array declarators | 2026-03-19 | 1 | -7/+10 | |
| | | | | | | | `const int x[]` was being treated as `const int x[const]`, which is wrong, and matters when `x` is a function parameter that really decays to a pointer (`int const *const x`) | ||||
| * | ir: do not always try to put small literals in .text | 2026-03-19 | 1 | -3/+3 | |
| | | | | | | OpenBSD enforces read xor execute (XOM) even in x86-64. Not aware of any other platforms that do this. | ||||
| * | c: remove unused initialization of decl.align | 2026-03-19 | 1 | -3/+3 | |
| | | | | | | The intent is for _Alignas declarations but those aren't implemented yet. And initializing that field in declarator() can mess with .sym. | ||||
| * | c: fix edge cases with zero sized bitfields and static initializers | 2026-03-18 | 1 | -7/+6 | |
| | | |||||
| * | Refactor: use typedefs and CamelCase for aggregate types | 2026-03-18 | 1 | -498/+502 | |
| | | | | | Looks nicer | ||||
| * | Refactor: move some utils from antcc.h to their own headers | 2026-03-17 | 1 | -0/+1 | |
| | | |||||
| * | REFACTOR: finish renaming | 2026-03-17 | 1 | -4/+4 | |
| | | |||||
| * | REFACTOR: move sources to src/ | 2026-03-17 | 1 | -0/+4772 | |