Make void a signed type

Follow the convention set by C so that lldb stops complaining about it.
This commit is contained in:
LemonBoy 2019-06-04 09:05:12 +02:00
parent 3eca5a42e6
commit ebe921e48f

View File

@ -7243,7 +7243,7 @@ static void define_builtin_types(CodeGen *g) {
buf_init_from_str(&entry->name, "void");
entry->llvm_di_type = ZigLLVMCreateDebugBasicType(g->dbuilder, buf_ptr(&entry->name),
0,
ZigLLVMEncoding_DW_ATE_unsigned());
ZigLLVMEncoding_DW_ATE_signed());
g->builtin_types.entry_void = entry;
g->primitive_type_table.put(&entry->name, entry);
}