authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2019-06-04 09:05:12+02:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2019-06-04 09:05:12+02:00
logebe921e48f4495634de1403caafc4d31158453fb
tree838885523209e2fbcfb5e45bb409f37cf5d878f5
parent3eca5a42e650878922437a854a352300052c878a

Make `void` a signed type

Follow the convention set by C so that lldb stops complaining about it.

1 files changed, 1 insertions(+), 1 deletions(-)

src/codegen.cpp+1-1
......@@ -7243,7 +7243,7 @@ static void define_builtin_types(CodeGen *g) {
72437243 buf_init_from_str(&entry->name, "void");
72447244 entry->llvm_di_type = ZigLLVMCreateDebugBasicType(g->dbuilder, buf_ptr(&entry->name),
72457245 0,
7246 ZigLLVMEncoding_DW_ATE_unsigned());
7246 ZigLLVMEncoding_DW_ATE_signed());
72477247 g->builtin_types.entry_void = entry;
72487248 g->primitive_type_table.put(&entry->name, entry);
72497249 }