mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Fix formatting of code
This commit is contained in:
+3
-5
@@ -2390,12 +2390,10 @@ Type *type_to_abi_compat_result_type(gbAllocator a, Type *original_type, ProcCal
|
||||
|
||||
if (cc == ProcCC_None) {
|
||||
for_array(i, new_type->Tuple.variables) {
|
||||
Type *result_type = new_type->Tuple.variables[i]->type;
|
||||
if (is_type_boolean(result_type)) {
|
||||
Type *t = core_type(base_type(result_type));
|
||||
Type **tp = &new_type->Tuple.variables[i]->type;
|
||||
Type *t = core_type(*tp);
|
||||
if (t == t_bool) {
|
||||
new_type->Tuple.variables[i]->type = t_llvm_bool;
|
||||
}
|
||||
*tp = t_llvm_bool;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user