mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 16:24:51 +00:00
Make void a signed type
Follow the convention set by C so that lldb stops complaining about it.
This commit is contained in:
parent
3eca5a42e6
commit
ebe921e48f
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user