aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/c.c
Commit message (Expand)AuthorAgeFilesLines
* c: recognize another static initializer edge case lemon2026-03-051-3/+2
* add bswap16/32/64 lemon2026-03-021-21/+21
* c: allow casting of symbol address to intptr_t in static initializers lemon2026-02-251-1/+2
* C23 true and false keywords lemon2026-02-241-3/+5
* c: fix using string literal as conditional expression conditional lemon2026-02-221-12/+28
* c: fix default argument promotion for function types lemon2026-02-211-0/+1
* ir: basic inlining pass implementation lemon2026-02-181-1/+2
* c: support at least parsing C99 _Complex types lemon2026-01-251-4/+15
* c: GNU __attribute__ stubs lemon2026-01-251-10/+68
* c: fix use after free lemon2026-01-091-1/+2
* c: allow 'register' in func parameter lemon2026-01-091-1/+1
* c: fix diagnostic with "return <undeclared>" lemon2025-12-311-2/+2
* backend: separate instrs for integer/float store lemon2025-12-311-5/+5
* c: SYM expr should store decl ref as an index, not pointer lemon2025-12-301-49/+54
* avoid GOT relocations in unnecessary instances lemon2025-12-251-1/+1
* c: add _Generic lemon2025-12-221-0/+53
* c: recognize __attribute__ as decltok, improve diagnostic for expected declar... lemon2025-12-221-1/+2
* c/c.c: cleanup exprparse a little lemon2025-12-221-13/+12
* c: allow `return voidfn()` extension lemon2025-12-211-4/+30
* c: small typechecking bugfixes lemon2025-12-201-3/+3
* backend: unify pass memory allocation strategies lemon2025-12-201-1/+1
* c: fix a silly C edge case with function redeclaration storage class lemon2025-12-201-14/+21
* c: factor out to tldecl(), improve error recovery, lemon2025-12-201-73/+97
* c: support 0-length arrays as syntax for flexible array members lemon2025-12-191-19/+29
* c: fix incr/decr codegen for floats lemon2025-12-191-2/+2
* c: hack to support __FUNCTION__ GNU extension lemon2025-12-191-4/+10
* c: fix uninitiliazed field in decltypes lemon2025-12-171-0/+1
* c: improve some type error diagnostics lemon2025-12-151-13/+22
* create distinct interned string type lemon2025-12-151-50/+51
* lexer: use a hashmap to lookup keywords lemon2025-12-151-1/+1
* c: error when defining function with incomplete parameter type lemon2025-12-151-0/+4
* c: support forward-declared enums lemon2025-12-151-34/+32
* c: emit data for __func__ lazily lemon2025-12-151-15/+16
* c: fix another memory-leak-when-errors case lemon2025-12-141-1/+2
* c: as a hack, warn for zero-length array instead of error lemon2025-12-141-1/+1
* c: fix memory leak if initializer data if error lemon2025-12-141-1/+1
* only put dats can in .text now when emitting it lemon2025-12-141-2/+2
* various relocation related optimization lemon2025-12-141-3/+3
* c: handle more static eval edgecases for int -> ptr lemon2025-12-131-1/+1
* c: case/default labels only create new blocks when necessary lemon2025-12-131-7/+11
* fix position independent loads of function symbols. lemon2025-12-131-3/+3
* c: switch stmt diagnostics lemon2025-12-121-8/+49
* rename arraylength macro -> countof lemon2025-12-111-23/+23
* c: accept C99 `[static N]` style array decls, changes to fn quals lemon2025-12-111-24/+45
* _Alignof and stuff lemon2025-12-111-11/+18
* c: use a look-up table for isdecltok() lemon2025-12-111-14/+18
* c: optimize environment decl lookup lemon2025-12-111-6/+26
* c: disallow mismatched nested extern decl, & more diagnostics lemon2025-12-111-17/+24
* c: support for noreturn, and decl parsing cleanup lemon2025-12-111-107/+113
* c: expr2reloc() change sig to return addend lemon2025-12-111-15/+12