aboutsummaryrefslogtreecommitdiffhomepage
path: root/c
Commit message (Expand)AuthorAgeFilesLines
* lex: remove some hacks and optimize preprocessorlemon2025-11-281-39/+34
* c/type: make implicit const T* -> T* conversion warning, not errorlemon2025-11-261-1/+8
* c: more static initializer fixeslemon2025-11-262-7/+9
* c: fix elided-braces initializers for nested unionslemon2025-11-261-5/+16
* pp: fix token pasting (hopefully)lemon2025-11-241-27/+15
* c: fix condexprvaluelemon2025-11-241-54/+42
* c: remove unused functionlemon2025-11-241-8/+0
* c: create dummy unreachable block after traplemon2025-11-242-5/+2
* ir: implement cvtu64f. and other bug fixeslemon2025-11-231-1/+4
* c: check actual reachability for non-void func may not return valuelemon2025-11-231-2/+6
* c: implement compound initializer in static contextlemon2025-11-231-2/+18
* lex: TEMP hack: #define __x86_64__ or some system headers break subtlylemon2025-11-231-0/+1
* c: fix runtime implicit-length array initializerlemon2025-11-231-2/+3
* c: __builtin_va_copylemon2025-11-231-8/+21
* implement float varargs, and some other fixeslemon2025-11-231-0/+3
* cpp: fix bugs with recursive macro expansion (hopefully)lemon2025-11-232-28/+25
* cpp: fix ## buglemon2025-11-231-1/+1
* c: fix precedence of conditional expression rhslemon2025-11-221-2/+2
* c: make the warning for '()' function declarations less strictlemon2025-11-221-1/+1
* c: fix static eval for address of some array refslemon2025-11-222-2/+7
* c: add decl.sym; avoid calling mkhiddensym repeatedlylemon2025-11-222-22/+17
* c: move warning for extension keyword til after preprocessorlemon2025-11-223-4/+12
* lex: #include ".." should also look in working directorylemon2025-11-221-19/+17
* lex: move token data from tmp to glob arena when used in a macro bodylemon2025-11-221-2/+7
* c: cast should narrow for narrow intslemon2025-11-221-2/+3
* amd64/emit: fix REX-requiring 8-bit GPR encoding checking wrong reglemon2025-11-221-0/+2
* remove umullemon2025-11-211-2/+2
* change op names to match 285063eba44lemon2025-11-211-20/+20
* rename IR classes to reflect bitsizelemon2025-11-211-16/+16
* c: fix conditional expr not converting operands to final typelemon2025-11-211-9/+13
* cpp: add predefined __antcc__ macro, for debugginglemon2025-11-201-0/+1
* isel: lower allocas a different way, such that stk address gets materialized ...lemon2025-11-201-1/+1
* ir: for easier debugging, keep ctype in dats, print as literal when possiblelemon2025-11-201-1/+1
* c: implement ++/-- for bitfieldslemon2025-11-191-7/+21
* c: remove vestigial ins variablelemon2025-11-191-93/+88
* eval: fix enum edge caselemon2025-11-191-2/+2
* eval: fix b0c0f2d2d885 for ptr convertiblelemon2025-11-191-1/+1
* debug output to stdoutlemon2025-11-191-2/+2
* eval: only isaddrconst for ptrslemon2025-11-161-1/+1
* factor type stuff into type.hlemon2025-11-162-0/+2
* c: due to __builtin_trap (in the future also things like noreturn function ca...lemon2025-11-151-1/+5
* c: disallow void argumentslemon2025-11-151-1/+3
* ir: 'trap' jump; c: __builtin_trap; lex: __has_builtinlemon2025-11-153-9/+50
* c: forward-declaring function with incomplete type shouldn't errorlemon2025-11-151-10/+14
* preeliminary va_list supportlemon2025-11-144-168/+346
* revert b55005e5c08. correct fix was in c.clemon2025-11-121-1/+0
* lex: fix single-line comment eating up preprocessor directive in next linelemon2025-11-081-1/+1
* lex: #warning and #errorlemon2025-11-081-2/+13
* c: inc/dec ptr should use ptrdiff integer classlemon2025-11-071-2/+2
* c: fix codegen bug with compound bitfield assignment reusing wrong intermedia...lemon2025-11-071-4/+7