zig/test
Ian Simonson e6fa0beb33 Translate-C convert bools to int in complex expressions
Pre-requisite for having a test case for #5062
In complex C statements which are outside of macros,
it is valid C to perform e.g. a bitor between an
integer and a boolean `5 | (8 == 9)`

Currently this results in a zig error after translating
as `c_int | bool` is invalid Zig.

Detects if a sub-expression of a numeric operator is
boolean and if so converts it to int
2020-04-30 12:48:27 +10:00
..
src std lib API deprecations for the upcoming 0.6.0 release 2020-03-30 14:23:22 -04:00
stage1 std.meta.IntType -> std.meta.Int 2020-04-28 19:11:31 -06:00
stage2 simplify ZIR spec; separate parsing/rendering from analysis 2020-04-20 19:21:03 -04:00
standalone new ArrayList API: fix everything else 2020-04-02 16:12:08 +02:00
assemble_and_link.zig update std lib to new Target API 2020-02-28 14:51:54 -05:00
cli.zig std lib API deprecations for the upcoming 0.6.0 release 2020-03-30 14:23:22 -04:00
compare_output.zig test & docs fixups to work with new semantics 2020-03-19 09:53:55 -04:00
compile_errors.zig Merge pull request #5196 from tadeokondrak/@vector-to-@type-vector 2020-04-28 16:25:40 -04:00
gen_h.zig @OpaqueType -> @Type(.Opaque) 2020-04-28 00:02:13 -06:00
run_translated_c.zig Translate-C convert bools to int in complex expressions 2020-04-30 12:48:27 +10:00
runtime_safety.zig @Vector -> std.meta.Vector 2020-04-28 00:47:13 -06:00
stack_traces.zig std: Minor changes to TLS handling 2020-03-28 11:20:38 -04:00
standalone.zig update std lib to new Target API 2020-02-28 14:51:54 -05:00
tests.zig Add mips support to standard library 2020-04-24 15:28:55 -04:00
translate_c.zig Merge pull request #5195 from tadeokondrak/opaquetype-to-type-opaque 2020-04-28 16:21:07 -04:00