lib/compiler/aro/aro/Type.zig | 4 +- lib/compiler/aro_translate_c.zig | 493 ++++++++++++++++++++++++++------ test/cases/translate_c/circular_struct_definitions.c | 20 ++ test/cases/translate_c/double_define_struct.c | 25 ++ test/cases/translate_c/field_access_is_grouped_if_necessary.c | 18 ++ test/cases/translate_c/global_struct_whose_default_name_conflicts_with_global_is_mangled.c | 15 + test/cases/translate_c/large_packed_struct.c | 20 ++ test/cases/translate_c/packed_union_nested_unpacked.c | 25 ++ test/cases/translate_c/packed_union_simple.c | 14 + test/cases/translate_c/pointer_to_struct_demoted_opaque_due_to_bit_fields.c | 15 + test/cases/translate_c/qualified_struct_and_enum.c | 25 ++ test/cases/translate_c/qualified_struct_and_enum_msvc.c | 25 ++ test/cases/translate_c/scoped_record.c | 49 ++++ test/cases/translate_c/simple_struct.c | 12 + test/cases/translate_c/simple_union.c | 12 + test/cases/translate_c/struct_in_struct_init_to_zero.c | 24 ++ test/cases/translate_c/struct_with_aligned_fields.c | 10 + test/cases/translate_c/struct_with_invalid_field_alignment.c | 35 +++ test/cases/translate_c/type_referenced_struct.c | 19 ++ test/cases/translate_c/union_initializer.c | 22 ++ test/cases/translate_c/union_struct_forward_decl.c | 37 +++ test/cases/translate_c/unnamed_fields_have_predictable_names.c | 22 ++ test/cases/translate_c/zero_width_field_alignment.c | 18 ++ test/cases/translate_c/zig_keywords_in_c_code.c | 12 + test/translate_c.zig | 370 ------------------------ 25 files changed, 881 insertions(+), 460 deletions(-)