aboutsummaryrefslogtreecommitdiff
path: root/src/zig_clang.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-01 18:10:43 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-01 18:10:43 -0500
commitdc28526c6cd9320fefeebe15a90dd9269cf2b2ca (patch)
treeb44dded33d9e911e4de4024a9c9ea75378416c66 /src/zig_clang.cpp
parent5575e2a168c07d2dcc0e58146231e490ef8a898e (diff)
downloadzig-dc28526c6cd9320fefeebe15a90dd9269cf2b2ca.tar.gz
zig-dc28526c6cd9320fefeebe15a90dd9269cf2b2ca.zip
translate-c: improve support of integer casting
Widening and truncating integer casting to different signedness works better now. For example `(unsigned long)-1` is now translated to zig code that compiles correctly.
Diffstat (limited to 'src/zig_clang.cpp')
0 files changed, 0 insertions, 0 deletions