aboutsummaryrefslogtreecommitdiff
path: root/src/translate_c.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-04-24 22:31:53 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-04-24 22:31:53 -0400
commitfb2acaff067dd6b385de7f2bd2726bdfebbf841f (patch)
tree1dce5178adc5066eba68510d36baed06575aad0a /src/translate_c.cpp
parent733c547a65b005338c89e3b6a6cb6e817bee632b (diff)
downloadzig-fb2acaff067dd6b385de7f2bd2726bdfebbf841f.tar.gz
zig-fb2acaff067dd6b385de7f2bd2726bdfebbf841f.zip
`@sizeOf` returns 0 for comptime types
This defines `@sizeOf` to be the runtime size of a type, which means that it is zero for types such as comptime_int, type, and (enum literal). See #2209
Diffstat (limited to 'src/translate_c.cpp')
0 files changed, 0 insertions, 0 deletions