aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/translate_c_macros.h
AgeCommit message (Collapse)Author
2024-02-20c_import: extract behavior tests that use `@cImport`Jacob Young
This introduces the new test step `test-c-import`, and removes the ability of the behavior tests to `@cImport` paths relative to `test`. This allows the behavior tests to be run without translate c.
2023-11-21translate-c: skip blank macros when translating definesGarrett
2023-09-18std.zig.c_translation.zig: fix L suffix with sized intsBanacial
Closes #15066
2022-11-03Translate-C Remainder Macro FixNathan Bourgeois
2022-10-28translate-c: Better support for division in macrosEvan Haas
Perform C-style arithmetic conversions on operands to division operator in macros Closes #13162
2022-10-27translate-c: fix redefinition of label on left recursive comma operatorVeikka Tuominen
Closes #13239
2022-09-07translate-c: convert tabs to `\t` in object-like macro string literalsEvan Haas
Closes #12549
2022-08-31translate-c: promote large integer macros to unsigned long long if necessaryEvan Haas
Closes #10793 Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-07-27translate-c: take address of functions before passing them to @ptrToIntEvan Haas
Fixes #12194
2022-06-29translate-c: fix cast or call macro with parenthesisLordMZTE
2022-03-08translate-c: use nested scope for comma operator in macrosEvan Haas
Fixes #11040
2022-02-23translate-c: Add support for cast-to-unionEvan Haas
Fixes #10955
2021-08-06translate-c: handle macros that cast to cv voidEvan Haas
Fixes #9507
2021-06-13meta.cast: handle casts from negative ints to ptrsVeikka Tuominen
2021-04-29move behavior tests from test/stage1/ to test/Andrew Kelley
And fix test cases to make them pass. This is in preparation for starting to pass behavior tests with self-hosted.