aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c.c
Commit message (Collapse)AuthorAgeFilesLines
* c: fix qualifiers for array declaratorslemon2026-03-191-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 .textlemon2026-03-191-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.alignlemon2026-03-191-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 initializerslemon2026-03-181-7/+6
|
* Refactor: use typedefs and CamelCase for aggregate typeslemon2026-03-181-498/+502
| | | | Looks nicer
* Refactor: move some utils from antcc.h to their own headerslemon2026-03-171-0/+1
|
* REFACTOR: finish renaminglemon2026-03-171-4/+4
|
* REFACTOR: move sources to src/lemon2026-03-171-0/+4772