aboutsummaryrefslogtreecommitdiff
path: root/test/translate_c.zig
AgeCommit message (Expand)Author
2019-04-29translate-c: Emit @ptrCast + @alignPtr sequenceLemonBoy
2019-04-22translate-c: Add test for implicit castsLemonBoy
2019-03-18Merge pull request #2069 from ziglang/glibc-assert-translationAndrew Kelley
2019-03-18More work on ignoring values correctlyJimmi Holst Christensen
2019-03-15fixed void cast and added the last testsJimmi HC
2019-03-15Implemented enough of translate-c to translate assertJimmi Holst Christensen
2019-03-15workaround for #2043Jimmi Holst Christensen
2019-03-11translate-c: additional test case for integer suffixes on 0Sahnvour
2019-03-10translate-c: add support for integer suffixes on 0 (zero) litteral inside mac...Sahnvour
2019-02-18Translate parameterless C functions (#1978)LemonBoy
2019-02-16Merge pull request #1898 from Sahnvour/translate-c-arraysAndrew Kelley
2019-02-14translate-c: back to *c_void for opaque typesAndrew Kelley
2019-02-11C pointer comparison and arithmeticAndrew Kelley
2019-02-11translate-c: use C pointer type everywhereAndrew Kelley
2019-02-05translate-c: add tests. Commented for now as the output is currently empty un...Sahnvour
2018-11-13New Zig formal grammar (#1685)Jimmi Holst Christensen
2018-10-15Solve the return type ambiguity (#1628)Jimmi Holst Christensen
2018-09-24fix translate-c test expecting incorrect C ABI on windowsAndrew Kelley
2018-09-24fix translate-c incorrectly translating negative enum init valuesAndrew Kelley
2018-08-21Revert "Merge branch 'mtn-translate-c-enum-vals'"Andrew Kelley
2018-08-20src/translate_c.cpp: correctly bridge llvm::APSInt with Zig BigInt;kristopher tate
2018-08-20translate-c: Correctly translate enum init values, addressing #1360Michael Noronha
2018-08-20Revert "translate-c: Correctly translate enum init values, addressing #1360 (...Andrew Kelley
2018-08-20translate-c: Correctly translate enum init values, addressing #1360 (#1377)Michael Noronha
2018-08-05translate-c: fix for loops with var init and empty bodyAndrew Kelley
2018-08-05translate-c: fix do while with empty bodyAndrew Kelley
2018-08-05translate-c: handle for loop with empty bodyAndrew Kelley
2018-08-05translate-c: fix while loop with no bodyAndrew Kelley
2018-06-10breaking syntax change: orelse keyword instead of ?? (#1096)Andrew Kelley
2018-06-05disallow unknown-length pointer to opaqueAndrew Kelley
2018-06-04disallow single-item pointer indexingAndrew Kelley
2018-05-31use * for pointer type instead of &Andrew Kelley
2018-05-29run zig fmt on the codebaseAndrew Kelley
2018-05-17all tests passing with postfix deref syntaxAndrew Kelley
2018-05-09translate-c: fix typedef duplicate definition of variableAndrew Kelley
2018-05-02Added better support for none pure enums in tranlate CJimmi Holst Christensen
2018-03-08Translate C now correctly converts ints, floats, ptrs and enums to boolsJimmi Holst Christensen
2018-03-08Translate C will now handle ignored return valuesJimmi Holst Christensen
2018-03-08Translate C can now translate switch statements againJimmi Holst Christensen
2018-03-07Ast Render no longer outputs erroneous semicolonJimmi Holst Christensen
2018-03-06We now also use trans_to_bool_expr on bool notJimmi Holst Christensen
2018-03-06expr to bool is now it's own function.Jimmi Holst Christensen
2018-01-25syntax: functions require return type. remove `->`Andrew Kelley
2018-01-16translate_c can now translate if statements on integers and floatsJimmi Holst Christensen
2018-01-16Fixed tests for undefined variablesJimmi Holst Christensen
2017-12-22explicitly return from blocksAndrew Kelley
2017-12-20add labeled loops, labeled break, labeled continue. remove gotoAndrew Kelley
2017-12-19bring back code that uses export and fix testsAndrew Kelley
2017-12-18wip export rewriteAndrew Kelley
2017-12-08translate-c: more complex logic for translating a C cast in a macroAndrew Kelley