aboutsummaryrefslogtreecommitdiff
path: root/test/translate_c.zig
AgeCommit message (Expand)Author
2022-09-13translate-c: lower discards differentlyAndrew Kelley
2022-09-03translate-c: do not translate packed C structs as packed Zig structs in stage2Veikka Tuominen
2022-08-20fix: fix off-by-one for leading zeroesr00ster91
2022-08-05translate-c: fix alignment in pointer castsMeredith Oleander
2022-07-27translate-c: take address of functions before passing them to @ptrToIntEvan Haas
2022-07-21update test-translate-c cases to stage2Andrew Kelley
2022-07-08disable regressed translate-c test case on freebsdAndrew Kelley
2022-07-04translate-c: do not try to get rid of do while loopVeikka Tuominen
2022-05-29translate-c: check variable types being demoted to opaqueVeikka Tuominen
2022-05-29translate-c: check record fields for opaque demotionsTwoClocks
2022-05-29Revert "reserve correct space for bitfields"Veikka Tuominen
2022-05-28reserve correct space for bitfieldsTwoClocks
2022-01-17translate-c: improve error messages when expecting specific tokensfn ⌃ ⌥
2022-01-17translate-c: Fix issues translating macro define of hex float constantriverbl
2022-01-12translate-c: Fix macro define of float constant using scientific notationriverbl
2022-01-11translate-c: Handle typedef'ed void return type for functions.Evan Haas
2021-12-19stage1, stage2: rename c_void to anyopaque (#10316)Isaac Freund
2021-11-20translate-c: Allow negative denominator in remainder (%) operatorEvan Haas
2021-10-20translate-c: create `inline fn` for always_inlineStéphan Kochen
2021-10-04migrate from `std.Target.current` to `@import("builtin").target`Andrew Kelley
2021-09-24Spelling corrections (#9833)Josh Soref
2021-09-01translate-c: translate valueless macros as empty stringsEvan Haas
2021-09-01translate-c: Only consider public decls in isBuiltinDefinedEvan Haas
2021-09-01translate-c: improve handling of undefined identifiersEvan Haas
2021-09-01translate-c: emit compileError for undefined identifiers in macrosEvan Haas
2021-08-29translate-c: remove now unnecessary mangling of primitive type shadowingVeikka Tuominen
2021-08-03translate-c: better codegen for pointer index by int literalEvan Haas
2021-07-28translate-c: fix import path in translation failure commentEvan Haas
2021-07-22translate-c: add framework for special-casing macrosEvan Haas
2021-07-19translate-c: Handle underscore when used as an identifierEvan Haas
2021-07-05translate-c: Don't discard variables unless necessaryEvan Haas
2021-06-23translate-c: Ensure all local variables and function params are usedEvan Haas
2021-06-23translate-c: Remove usage of `extern enum`Evan Haas
2021-06-14translate-c: move utility functions to a separate namespaceVeikka Tuominen
2021-06-13translate-c: better typename parsingxackus
2021-06-13translate-c: don't bother with unwrapping pointersVeikka Tuominen
2021-06-12translate-c: better support for static local variablesEvan Haas
2021-06-12translate-c: fix enums that require c_uint typexackus
2021-06-11translate-c: Implement flexible arraysEvan Haas
2021-06-07translate-c: properly handle enums used as boolean expressionsEvan Haas
2021-06-01translate-c: support designated initializers in macrosVeikka Tuominen
2021-05-31stage2: disallow `1.e9` and `0x1.p9` as float literalsIsaac Freund
2021-05-23translate-c: Translate FnDecl's that appear within functionsEvan Haas
2021-05-20translate-c: use inline keyword instead of callconv(.Inline)Isaac Freund
2021-05-18translate-c: Demote initialization of opaque typesEvan Haas
2021-05-15translate-c: translate global (file scope) assemblyEvan Haas
2021-04-25translate-c: Fix casting of function pointersLemonBoy
2021-04-24Remove translate-c test using long double literalLemonBoy
2021-04-20translate-c: Group field access LHS if necessaryLemonBoy
2021-04-15translate-c: better handling of int -> enum castsEvan Haas