Files
zig/src-self-hosted
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
..
2020-04-26 17:37:04 -04:00
2020-02-16 13:25:30 -05:00
2020-04-28 00:02:13 -06:00
2020-04-24 02:09:30 -04:00
2020-04-21 18:04:37 -04:00
2019-11-26 11:52:12 +02:00
2020-04-26 01:20:58 -04:00
2019-12-29 11:04:58 +02:00
2020-04-04 17:37:51 -04:00
2020-04-26 01:20:58 -04:00
2018-11-13 05:08:37 -08:00
2020-02-16 13:25:30 -05:00