get_codegen_ptr_type returns possible error

And fix most of the fallout. This also makes optional pointers not
require resolving zero bits, because the comptime value struct layout no
longer depends on whether the type has zero bits.

Thanks to @LemonBoy for the behavior test case

Closes #4357
Closes #4359
f247a90541Andrew Kelley committed on 3/4/2020, 10:04:59 PMparent6cbd1ac
5 files changedLine totals unavailable