From ca78140c01518a655355f84da1f3872939123b66 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 15 Apr 2024 10:45:25 +0200 Subject: [PATCH] Fix cpplint warnings Closes #865 --- src/bindgen/language_backend/clike.rs | 12 ++++++------ tests/expectations/abi_string.compat.c | 4 ++-- tests/expectations/abi_string.cpp | 2 +- tests/expectations/alias.compat.c | 4 ++-- tests/expectations/alias.cpp | 2 +- tests/expectations/alias_both.compat.c | 4 ++-- tests/expectations/alias_tag.compat.c | 4 ++-- tests/expectations/annotation.compat.c | 4 ++-- tests/expectations/annotation.cpp | 2 +- tests/expectations/annotation_both.compat.c | 4 ++-- tests/expectations/annotation_tag.compat.c | 4 ++-- tests/expectations/array.compat.c | 4 ++-- tests/expectations/array.cpp | 2 +- tests/expectations/array_both.compat.c | 4 ++-- tests/expectations/array_tag.compat.c | 4 ++-- tests/expectations/asserted_cast.compat.c | 4 ++-- tests/expectations/asserted_cast.cpp | 2 +- tests/expectations/asserted_cast_both.compat.c | 4 ++-- tests/expectations/asserted_cast_tag.compat.c | 4 ++-- tests/expectations/assoc_constant.compat.c | 4 ++-- tests/expectations/assoc_constant.cpp | 2 +- tests/expectations/assoc_constant_both.compat.c | 4 ++-- tests/expectations/assoc_constant_tag.compat.c | 4 ++-- tests/expectations/associated_in_body.compat.c | 4 ++-- tests/expectations/associated_in_body.cpp | 2 +- tests/expectations/associated_in_body_both.compat.c | 4 ++-- tests/expectations/associated_in_body_tag.compat.c | 4 ++-- tests/expectations/bitfield.compat.c | 4 ++-- tests/expectations/bitfield.cpp | 2 +- tests/expectations/bitfield_both.compat.c | 4 ++-- tests/expectations/bitfield_tag.compat.c | 4 ++-- tests/expectations/bitflags.compat.c | 4 ++-- tests/expectations/bitflags.cpp | 2 +- tests/expectations/bitflags_both.compat.c | 4 ++-- tests/expectations/bitflags_tag.compat.c | 4 ++-- tests/expectations/body.compat.c | 4 ++-- tests/expectations/body.cpp | 2 +- tests/expectations/body_both.compat.c | 4 ++-- tests/expectations/body_tag.compat.c | 4 ++-- tests/expectations/box.compat.c | 4 ++-- tests/expectations/box.cpp | 2 +- tests/expectations/box_both.compat.c | 4 ++-- tests/expectations/box_tag.compat.c | 4 ++-- tests/expectations/cdecl.compat.c | 4 ++-- tests/expectations/cdecl.cpp | 2 +- tests/expectations/cell.compat.c | 4 ++-- tests/expectations/cell.cpp | 2 +- tests/expectations/cell_both.compat.c | 4 ++-- tests/expectations/cell_tag.compat.c | 4 ++-- tests/expectations/cfg.compat.c | 4 ++-- tests/expectations/cfg.cpp | 2 +- tests/expectations/cfg_2.compat.c | 4 ++-- tests/expectations/cfg_2.cpp | 2 +- tests/expectations/cfg_2_both.compat.c | 4 ++-- tests/expectations/cfg_2_tag.compat.c | 4 ++-- tests/expectations/cfg_both.compat.c | 4 ++-- tests/expectations/cfg_tag.compat.c | 4 ++-- tests/expectations/char.compat.c | 4 ++-- tests/expectations/char.cpp | 2 +- tests/expectations/char_both.compat.c | 4 ++-- tests/expectations/char_tag.compat.c | 4 ++-- tests/expectations/const_generics.compat.c | 4 ++-- tests/expectations/const_generics.cpp | 2 +- tests/expectations/const_generics_arrayvec.compat.c | 4 ++-- tests/expectations/const_generics_arrayvec.cpp | 2 +- .../const_generics_arrayvec_both.compat.c | 4 ++-- .../const_generics_arrayvec_tag.compat.c | 4 ++-- tests/expectations/const_generics_bool.compat.c | 4 ++-- tests/expectations/const_generics_bool.cpp | 2 +- tests/expectations/const_generics_bool_both.compat.c | 4 ++-- tests/expectations/const_generics_bool_tag.compat.c | 4 ++-- tests/expectations/const_generics_both.compat.c | 4 ++-- tests/expectations/const_generics_byte.compat.c | 4 ++-- tests/expectations/const_generics_byte.cpp | 2 +- tests/expectations/const_generics_byte_both.compat.c | 4 ++-- tests/expectations/const_generics_byte_tag.compat.c | 4 ++-- tests/expectations/const_generics_char.compat.c | 4 ++-- tests/expectations/const_generics_char.cpp | 2 +- tests/expectations/const_generics_char_both.compat.c | 4 ++-- tests/expectations/const_generics_char_tag.compat.c | 4 ++-- tests/expectations/const_generics_constant.compat.c | 4 ++-- tests/expectations/const_generics_constant.cpp | 2 +- .../const_generics_constant_both.compat.c | 4 ++-- .../const_generics_constant_tag.compat.c | 4 ++-- tests/expectations/const_generics_tag.compat.c | 4 ++-- tests/expectations/const_generics_thru.compat.c | 4 ++-- tests/expectations/const_generics_thru.cpp | 2 +- tests/expectations/const_generics_thru_both.compat.c | 4 ++-- tests/expectations/const_generics_thru_tag.compat.c | 4 ++-- tests/expectations/constant.compat.c | 4 ++-- tests/expectations/constant.cpp | 2 +- tests/expectations/constant_both.compat.c | 4 ++-- tests/expectations/constant_sort_name.compat.c | 4 ++-- tests/expectations/constant_sort_name.cpp | 2 +- tests/expectations/constant_sort_none.compat.c | 4 ++-- tests/expectations/constant_sort_none.cpp | 2 +- tests/expectations/constant_tag.compat.c | 4 ++-- tests/expectations/custom_header.compat.c | 4 ++-- tests/expectations/custom_header.cpp | 2 +- tests/expectations/decl_name_conflicting.compat.c | 4 ++-- tests/expectations/decl_name_conflicting.cpp | 2 +- .../expectations/decl_name_conflicting_both.compat.c | 4 ++-- .../expectations/decl_name_conflicting_tag.compat.c | 4 ++-- tests/expectations/dep_v2.compat.c | 4 ++-- tests/expectations/dep_v2.cpp | 2 +- tests/expectations/dep_v2_both.compat.c | 4 ++-- tests/expectations/dep_v2_tag.compat.c | 4 ++-- tests/expectations/deprecated.compat.c | 4 ++-- tests/expectations/deprecated.cpp | 2 +- tests/expectations/deprecated_both.compat.c | 4 ++-- tests/expectations/deprecated_tag.compat.c | 4 ++-- tests/expectations/derive_eq.compat.c | 4 ++-- tests/expectations/derive_eq.cpp | 2 +- tests/expectations/derive_eq_both.compat.c | 4 ++-- tests/expectations/derive_eq_tag.compat.c | 4 ++-- tests/expectations/derive_ostream.compat.c | 4 ++-- tests/expectations/derive_ostream.cpp | 2 +- tests/expectations/derive_ostream_both.compat.c | 4 ++-- tests/expectations/derive_ostream_tag.compat.c | 4 ++-- tests/expectations/destructor_and_copy_ctor.compat.c | 4 ++-- tests/expectations/destructor_and_copy_ctor.cpp | 2 +- .../destructor_and_copy_ctor_both.compat.c | 4 ++-- .../destructor_and_copy_ctor_tag.compat.c | 4 ++-- tests/expectations/display_list.compat.c | 4 ++-- tests/expectations/display_list.cpp | 2 +- tests/expectations/display_list_both.compat.c | 4 ++-- tests/expectations/display_list_tag.compat.c | 4 ++-- tests/expectations/doclength_short.compat.c | 4 ++-- tests/expectations/doclength_short.cpp | 2 +- tests/expectations/docstyle_auto.compat.c | 4 ++-- tests/expectations/docstyle_auto.cpp | 2 +- tests/expectations/docstyle_c99.compat.c | 4 ++-- tests/expectations/docstyle_c99.cpp | 2 +- tests/expectations/docstyle_doxy.compat.c | 4 ++-- tests/expectations/docstyle_doxy.cpp | 2 +- tests/expectations/documentation.compat.c | 4 ++-- tests/expectations/documentation.cpp | 2 +- tests/expectations/documentation_attr.compat.c | 4 ++-- tests/expectations/documentation_attr.cpp | 2 +- tests/expectations/enum.compat.c | 4 ++-- tests/expectations/enum.cpp | 2 +- tests/expectations/enum_both.compat.c | 4 ++-- tests/expectations/enum_discriminant.compat.c | 4 ++-- tests/expectations/enum_discriminant.cpp | 2 +- tests/expectations/enum_self.compat.c | 4 ++-- tests/expectations/enum_self.cpp | 2 +- tests/expectations/enum_self_both.compat.c | 4 ++-- tests/expectations/enum_self_tag.compat.c | 4 ++-- tests/expectations/enum_tag.compat.c | 4 ++-- tests/expectations/euclid.compat.c | 4 ++-- tests/expectations/euclid.cpp | 2 +- tests/expectations/euclid_both.compat.c | 4 ++-- tests/expectations/euclid_tag.compat.c | 4 ++-- .../expectations/exclude_generic_monomorph.compat.c | 4 ++-- .../exclude_generic_monomorph_both.compat.c | 4 ++-- .../exclude_generic_monomorph_tag.compat.c | 4 ++-- tests/expectations/expand.compat.c | 4 ++-- tests/expectations/expand.cpp | 2 +- tests/expectations/expand_both.compat.c | 4 ++-- tests/expectations/expand_default_features.compat.c | 4 ++-- tests/expectations/expand_default_features.cpp | 2 +- .../expand_default_features_both.compat.c | 4 ++-- .../expand_default_features_tag.compat.c | 4 ++-- tests/expectations/expand_dep.compat.c | 4 ++-- tests/expectations/expand_dep.cpp | 2 +- tests/expectations/expand_dep_both.compat.c | 4 ++-- tests/expectations/expand_dep_tag.compat.c | 4 ++-- tests/expectations/expand_dep_v2.compat.c | 4 ++-- tests/expectations/expand_dep_v2.cpp | 2 +- tests/expectations/expand_dep_v2_both.compat.c | 4 ++-- tests/expectations/expand_dep_v2_tag.compat.c | 4 ++-- tests/expectations/expand_features.compat.c | 4 ++-- tests/expectations/expand_features.cpp | 2 +- tests/expectations/expand_features_both.compat.c | 4 ++-- tests/expectations/expand_features_tag.compat.c | 4 ++-- .../expectations/expand_no_default_features.compat.c | 4 ++-- tests/expectations/expand_no_default_features.cpp | 2 +- .../expand_no_default_features_both.compat.c | 4 ++-- .../expand_no_default_features_tag.compat.c | 4 ++-- tests/expectations/expand_tag.compat.c | 4 ++-- tests/expectations/export_name.compat.c | 4 ++-- tests/expectations/export_name.cpp | 2 +- tests/expectations/extern.compat.c | 4 ++-- tests/expectations/extern.cpp | 2 +- tests/expectations/extern_2.compat.c | 4 ++-- tests/expectations/extern_2.cpp | 2 +- tests/expectations/extern_both.compat.c | 4 ++-- tests/expectations/extern_tag.compat.c | 4 ++-- tests/expectations/external_workspace_child.compat.c | 4 ++-- tests/expectations/external_workspace_child.cpp | 2 +- .../external_workspace_child_both.compat.c | 4 ++-- .../external_workspace_child_tag.compat.c | 4 ++-- tests/expectations/fns.compat.c | 4 ++-- tests/expectations/fns.cpp | 2 +- tests/expectations/fns_both.compat.c | 4 ++-- tests/expectations/fns_tag.compat.c | 4 ++-- tests/expectations/forward_declaration.compat.c | 4 ++-- tests/expectations/forward_declaration.cpp | 2 +- tests/expectations/forward_declaration_both.compat.c | 4 ++-- tests/expectations/forward_declaration_tag.compat.c | 4 ++-- tests/expectations/function_args.compat.c | 4 ++-- tests/expectations/function_args.cpp | 2 +- tests/expectations/function_noreturn.compat.c | 4 ++-- tests/expectations/function_noreturn.cpp | 2 +- tests/expectations/function_noreturn_both.compat.c | 4 ++-- tests/expectations/function_noreturn_tag.compat.c | 4 ++-- tests/expectations/function_ptr.compat.c | 4 ++-- tests/expectations/function_ptr.cpp | 2 +- tests/expectations/function_sort_name.compat.c | 4 ++-- tests/expectations/function_sort_name.cpp | 2 +- tests/expectations/function_sort_none.compat.c | 4 ++-- tests/expectations/function_sort_none.cpp | 2 +- tests/expectations/generic_pointer.compat.c | 4 ++-- tests/expectations/generic_pointer.cpp | 2 +- tests/expectations/generic_pointer_both.compat.c | 4 ++-- tests/expectations/generic_pointer_tag.compat.c | 4 ++-- tests/expectations/global_variable.compat.c | 4 ++-- tests/expectations/global_variable.cpp | 2 +- tests/expectations/ignore.compat.c | 4 ++-- tests/expectations/ignore.cpp | 2 +- tests/expectations/include_guard.c | 2 +- tests/expectations/include_guard.compat.c | 6 +++--- tests/expectations/include_guard.cpp | 4 ++-- tests/expectations/inner_mod.compat.c | 4 ++-- tests/expectations/inner_mod.cpp | 2 +- tests/expectations/inner_mod_both.compat.c | 4 ++-- tests/expectations/inner_mod_tag.compat.c | 4 ++-- tests/expectations/lifetime_arg.compat.c | 4 ++-- tests/expectations/lifetime_arg.cpp | 2 +- tests/expectations/lifetime_arg_both.compat.c | 4 ++-- tests/expectations/lifetime_arg_tag.compat.c | 4 ++-- tests/expectations/linestyle_cr.compat.c | 2 +- tests/expectations/linestyle_cr.cpp | 2 +- tests/expectations/linestyle_cr_both.compat.c | 2 +- tests/expectations/linestyle_cr_tag.compat.c | 2 +- tests/expectations/linestyle_crlf.compat.c | 4 ++-- tests/expectations/linestyle_crlf.cpp | 2 +- tests/expectations/linestyle_crlf_both.compat.c | 4 ++-- tests/expectations/linestyle_crlf_tag.compat.c | 4 ++-- tests/expectations/linestyle_lf.compat.c | 4 ++-- tests/expectations/linestyle_lf.cpp | 2 +- tests/expectations/linestyle_lf_both.compat.c | 4 ++-- tests/expectations/linestyle_lf_tag.compat.c | 4 ++-- tests/expectations/mangle.compat.c | 4 ++-- tests/expectations/mangle.cpp | 2 +- tests/expectations/mangle_both.compat.c | 4 ++-- tests/expectations/mangle_tag.compat.c | 4 ++-- tests/expectations/manuallydrop.compat.c | 4 ++-- tests/expectations/manuallydrop.cpp | 2 +- tests/expectations/manuallydrop_both.compat.c | 4 ++-- tests/expectations/manuallydrop_tag.compat.c | 4 ++-- tests/expectations/maybeuninit.compat.c | 4 ++-- tests/expectations/maybeuninit.cpp | 2 +- tests/expectations/maybeuninit_both.compat.c | 4 ++-- tests/expectations/maybeuninit_tag.compat.c | 4 ++-- tests/expectations/mod_2015.compat.c | 4 ++-- tests/expectations/mod_2015.cpp | 2 +- tests/expectations/mod_2015_both.compat.c | 4 ++-- tests/expectations/mod_2015_tag.compat.c | 4 ++-- tests/expectations/mod_2018.compat.c | 4 ++-- tests/expectations/mod_2018.cpp | 2 +- tests/expectations/mod_2018_both.compat.c | 4 ++-- tests/expectations/mod_2018_tag.compat.c | 4 ++-- tests/expectations/mod_attr.compat.c | 4 ++-- tests/expectations/mod_attr.cpp | 2 +- tests/expectations/mod_attr_both.compat.c | 4 ++-- tests/expectations/mod_attr_tag.compat.c | 4 ++-- tests/expectations/mod_path.compat.c | 4 ++-- tests/expectations/mod_path.cpp | 2 +- tests/expectations/mod_path_both.compat.c | 4 ++-- tests/expectations/mod_path_tag.compat.c | 4 ++-- tests/expectations/monomorph_1.compat.c | 4 ++-- tests/expectations/monomorph_1.cpp | 2 +- tests/expectations/monomorph_1_both.compat.c | 4 ++-- tests/expectations/monomorph_1_tag.compat.c | 4 ++-- tests/expectations/monomorph_2.compat.c | 4 ++-- tests/expectations/monomorph_2.cpp | 2 +- tests/expectations/monomorph_2_both.compat.c | 4 ++-- tests/expectations/monomorph_2_tag.compat.c | 4 ++-- tests/expectations/monomorph_3.compat.c | 4 ++-- tests/expectations/monomorph_3.cpp | 2 +- tests/expectations/monomorph_3_both.compat.c | 4 ++-- tests/expectations/monomorph_3_tag.compat.c | 4 ++-- tests/expectations/must_use.compat.c | 4 ++-- tests/expectations/must_use.cpp | 2 +- tests/expectations/must_use_both.compat.c | 4 ++-- tests/expectations/must_use_tag.compat.c | 4 ++-- tests/expectations/namespace_constant.compat.c | 10 +++++----- tests/expectations/namespace_constant.cpp | 4 ++-- tests/expectations/namespace_constant_both.compat.c | 10 +++++----- tests/expectations/namespace_constant_tag.compat.c | 10 +++++----- tests/expectations/namespaces_constant.compat.c | 12 ++++++------ tests/expectations/namespaces_constant.cpp | 6 +++--- tests/expectations/namespaces_constant_both.compat.c | 12 ++++++------ tests/expectations/namespaces_constant_tag.compat.c | 12 ++++++------ tests/expectations/no_includes.compat.c | 4 ++-- tests/expectations/no_includes.cpp | 2 +- tests/expectations/non_pub_extern.compat.c | 4 ++-- tests/expectations/non_pub_extern.cpp | 2 +- tests/expectations/nonnull.compat.c | 4 ++-- tests/expectations/nonnull.cpp | 2 +- tests/expectations/nonnull_attribute.compat.c | 4 ++-- tests/expectations/nonnull_attribute.cpp | 2 +- tests/expectations/nonnull_attribute_both.compat.c | 4 ++-- tests/expectations/nonnull_attribute_tag.compat.c | 4 ++-- tests/expectations/nonnull_both.compat.c | 4 ++-- tests/expectations/nonnull_tag.compat.c | 4 ++-- tests/expectations/nonzero.compat.c | 4 ++-- tests/expectations/nonzero.cpp | 2 +- tests/expectations/nonzero_both.compat.c | 4 ++-- tests/expectations/nonzero_tag.compat.c | 4 ++-- tests/expectations/opaque.compat.c | 4 ++-- tests/expectations/opaque.cpp | 2 +- tests/expectations/opaque_both.compat.c | 4 ++-- tests/expectations/opaque_tag.compat.c | 4 ++-- tests/expectations/package_version.compat.c | 4 ++-- tests/expectations/package_version.cpp | 2 +- tests/expectations/package_version_both.compat.c | 4 ++-- tests/expectations/package_version_tag.compat.c | 4 ++-- tests/expectations/pin.compat.c | 4 ++-- tests/expectations/pin.cpp | 2 +- tests/expectations/pin_both.compat.c | 4 ++-- tests/expectations/pin_tag.compat.c | 4 ++-- tests/expectations/pragma_once.compat.c | 4 ++-- tests/expectations/pragma_once.cpp | 2 +- tests/expectations/prefix.compat.c | 4 ++-- tests/expectations/prefix.cpp | 2 +- tests/expectations/prefix_both.compat.c | 4 ++-- tests/expectations/prefix_tag.compat.c | 4 ++-- tests/expectations/prefixed_struct_literal.compat.c | 4 ++-- tests/expectations/prefixed_struct_literal.cpp | 2 +- .../prefixed_struct_literal_both.compat.c | 4 ++-- .../prefixed_struct_literal_deep.compat.c | 4 ++-- tests/expectations/prefixed_struct_literal_deep.cpp | 2 +- .../prefixed_struct_literal_deep_both.compat.c | 4 ++-- .../prefixed_struct_literal_deep_tag.compat.c | 4 ++-- .../prefixed_struct_literal_tag.compat.c | 4 ++-- tests/expectations/ptrs_as_arrays.compat.c | 4 ++-- tests/expectations/ptrs_as_arrays.cpp | 2 +- tests/expectations/raw_ident.compat.c | 4 ++-- tests/expectations/raw_ident.cpp | 2 +- tests/expectations/raw_ident_both.compat.c | 4 ++-- tests/expectations/raw_ident_tag.compat.c | 4 ++-- tests/expectations/raw_lines.c | 2 +- tests/expectations/raw_lines.compat.c | 6 +++--- tests/expectations/raw_lines.cpp | 4 ++-- tests/expectations/rename.compat.c | 4 ++-- tests/expectations/rename.cpp | 2 +- tests/expectations/rename_both.compat.c | 4 ++-- tests/expectations/rename_case.compat.c | 4 ++-- tests/expectations/rename_case.cpp | 2 +- tests/expectations/rename_crate.compat.c | 4 ++-- tests/expectations/rename_crate.cpp | 2 +- tests/expectations/rename_crate_both.compat.c | 4 ++-- tests/expectations/rename_crate_tag.compat.c | 4 ++-- tests/expectations/rename_tag.compat.c | 4 ++-- .../renaming_overrides_prefixing.compat.c | 4 ++-- tests/expectations/renaming_overrides_prefixing.cpp | 2 +- .../renaming_overrides_prefixing_both.compat.c | 4 ++-- .../renaming_overrides_prefixing_tag.compat.c | 4 ++-- tests/expectations/reserved.compat.c | 4 ++-- tests/expectations/reserved.cpp | 2 +- tests/expectations/reserved_both.compat.c | 4 ++-- tests/expectations/reserved_tag.compat.c | 4 ++-- tests/expectations/sentinel.compat.c | 4 ++-- tests/expectations/sentinel.cpp | 2 +- tests/expectations/sentinel_both.compat.c | 4 ++-- tests/expectations/sentinel_tag.compat.c | 4 ++-- tests/expectations/simplify_option_ptr.compat.c | 4 ++-- tests/expectations/simplify_option_ptr.cpp | 2 +- tests/expectations/simplify_option_ptr_both.compat.c | 4 ++-- tests/expectations/simplify_option_ptr_tag.compat.c | 4 ++-- tests/expectations/size_types.compat.c | 4 ++-- tests/expectations/size_types.cpp | 2 +- tests/expectations/static.compat.c | 4 ++-- tests/expectations/static.cpp | 2 +- tests/expectations/static_both.compat.c | 4 ++-- tests/expectations/static_tag.compat.c | 4 ++-- tests/expectations/std_lib.compat.c | 4 ++-- tests/expectations/std_lib.cpp | 2 +- tests/expectations/std_lib_both.compat.c | 4 ++-- tests/expectations/std_lib_tag.compat.c | 4 ++-- tests/expectations/struct.compat.c | 4 ++-- tests/expectations/struct.cpp | 2 +- tests/expectations/struct_both.compat.c | 4 ++-- tests/expectations/struct_literal.compat.c | 4 ++-- tests/expectations/struct_literal.cpp | 2 +- tests/expectations/struct_literal_both.compat.c | 4 ++-- tests/expectations/struct_literal_order.compat.c | 4 ++-- tests/expectations/struct_literal_order.cpp | 2 +- .../expectations/struct_literal_order_both.compat.c | 4 ++-- tests/expectations/struct_literal_order_tag.compat.c | 4 ++-- tests/expectations/struct_literal_tag.compat.c | 4 ++-- tests/expectations/struct_self.compat.c | 4 ++-- tests/expectations/struct_self.cpp | 2 +- tests/expectations/struct_self_both.compat.c | 4 ++-- tests/expectations/struct_self_tag.compat.c | 4 ++-- tests/expectations/struct_tag.compat.c | 4 ++-- tests/expectations/swift_name.compat.c | 4 ++-- tests/expectations/swift_name.cpp | 2 +- tests/expectations/swift_name_both.compat.c | 4 ++-- tests/expectations/swift_name_tag.compat.c | 4 ++-- tests/expectations/transform_op.compat.c | 4 ++-- tests/expectations/transform_op.cpp | 2 +- tests/expectations/transform_op_both.compat.c | 4 ++-- tests/expectations/transform_op_tag.compat.c | 4 ++-- tests/expectations/transparent.compat.c | 4 ++-- tests/expectations/transparent.cpp | 2 +- tests/expectations/transparent_both.compat.c | 4 ++-- tests/expectations/transparent_tag.compat.c | 4 ++-- tests/expectations/typedef.compat.c | 4 ++-- tests/expectations/typedef.cpp | 2 +- tests/expectations/typedef_both.compat.c | 4 ++-- tests/expectations/typedef_tag.compat.c | 4 ++-- tests/expectations/union.compat.c | 4 ++-- tests/expectations/union.cpp | 2 +- tests/expectations/union_both.compat.c | 4 ++-- tests/expectations/union_self.compat.c | 4 ++-- tests/expectations/union_self.cpp | 2 +- tests/expectations/union_self_both.compat.c | 4 ++-- tests/expectations/union_self_tag.compat.c | 4 ++-- tests/expectations/union_tag.compat.c | 4 ++-- tests/expectations/using_namespaces.compat.c | 10 +++++----- tests/expectations/using_namespaces.cpp | 4 ++-- tests/expectations/va_list.compat.c | 4 ++-- tests/expectations/va_list.cpp | 2 +- tests/expectations/workspace.compat.c | 4 ++-- tests/expectations/workspace.cpp | 2 +- tests/expectations/workspace_both.compat.c | 4 ++-- tests/expectations/workspace_tag.compat.c | 4 ++-- tests/expectations/zst.compat.c | 4 ++-- tests/expectations/zst.cpp | 2 +- tests/expectations/zst_both.compat.c | 4 ++-- tests/expectations/zst_tag.compat.c | 4 ++-- 434 files changed, 777 insertions(+), 777 deletions(-) diff --git a/src/bindgen/language_backend/clike.rs b/src/bindgen/language_backend/clike.rs index c33d6079c..1e3b76196 100644 --- a/src/bindgen/language_backend/clike.rs +++ b/src/bindgen/language_backend/clike.rs @@ -101,13 +101,13 @@ impl<'a> CLikeLanguageBackend<'a> { if open { write!(out, "namespace {} {{", namespace) } else { - write!(out, "}} // namespace {}", namespace) + write!(out, "}} // namespace {}", namespace) } } out.new_line(); if self.config.cpp_compatible_c() { - out.write("#endif // __cplusplus"); + out.write("#endif // __cplusplus"); out.new_line(); } } @@ -457,9 +457,9 @@ impl LanguageBackend for CLikeLanguageBackend<'_> { if let Some(f) = self.config.include_guard() { out.new_line_if_not_start(); if self.config.language == Language::C { - write!(out, "#endif /* {} */", f); + write!(out, "#endif /* {} */", f); } else { - write!(out, "#endif // {}", f); + write!(out, "#endif // {}", f); } out.new_line(); } @@ -984,12 +984,12 @@ impl LanguageBackend for CLikeLanguageBackend<'_> { if b.config.language == Language::Cxx || b.config.cpp_compatible_c() { out.new_line(); - out.write("} // extern \"C\""); + out.write("} // extern \"C\""); out.new_line(); } if b.config.cpp_compatible_c() { - out.write("#endif // __cplusplus"); + out.write("#endif // __cplusplus"); out.new_line(); } } diff --git a/tests/expectations/abi_string.compat.c b/tests/expectations/abi_string.compat.c index 0fad55a07..a69e63c8e 100644 --- a/tests/expectations/abi_string.compat.c +++ b/tests/expectations/abi_string.compat.c @@ -12,5 +12,5 @@ void c(void); void c_unwind(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/abi_string.cpp b/tests/expectations/abi_string.cpp index 0e86af9af..dfebc85d4 100644 --- a/tests/expectations/abi_string.cpp +++ b/tests/expectations/abi_string.cpp @@ -10,4 +10,4 @@ void c(); void c_unwind(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/alias.compat.c b/tests/expectations/alias.compat.c index 4b1372a8a..565fb53fe 100644 --- a/tests/expectations/alias.compat.c +++ b/tests/expectations/alias.compat.c @@ -47,5 +47,5 @@ extern "C" { void root(IntFoo x, DoubleFoo y, Unit z, SpecialStatus w); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/alias.cpp b/tests/expectations/alias.cpp index 943324792..38dd76044 100644 --- a/tests/expectations/alias.cpp +++ b/tests/expectations/alias.cpp @@ -33,4 +33,4 @@ extern "C" { void root(IntFoo x, DoubleFoo y, Unit z, SpecialStatus w); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/alias_both.compat.c b/tests/expectations/alias_both.compat.c index da9afc7f2..a48b899ed 100644 --- a/tests/expectations/alias_both.compat.c +++ b/tests/expectations/alias_both.compat.c @@ -47,5 +47,5 @@ extern "C" { void root(IntFoo x, DoubleFoo y, Unit z, SpecialStatus w); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/alias_tag.compat.c b/tests/expectations/alias_tag.compat.c index 4cdb7ad95..9f04708cf 100644 --- a/tests/expectations/alias_tag.compat.c +++ b/tests/expectations/alias_tag.compat.c @@ -47,5 +47,5 @@ extern "C" { void root(IntFoo x, DoubleFoo y, Unit z, SpecialStatus w); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/annotation.compat.c b/tests/expectations/annotation.compat.c index 27d36fa84..4a90fcabc 100644 --- a/tests/expectations/annotation.compat.c +++ b/tests/expectations/annotation.compat.c @@ -87,5 +87,5 @@ extern "C" { void root(A x, B y, C z, F f, H h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/annotation.cpp b/tests/expectations/annotation.cpp index 90bf2d4c2..1197f4501 100644 --- a/tests/expectations/annotation.cpp +++ b/tests/expectations/annotation.cpp @@ -149,4 +149,4 @@ extern "C" { void root(A x, B y, C z, F f, H h); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/annotation_both.compat.c b/tests/expectations/annotation_both.compat.c index 2de205953..57d9f297e 100644 --- a/tests/expectations/annotation_both.compat.c +++ b/tests/expectations/annotation_both.compat.c @@ -87,5 +87,5 @@ extern "C" { void root(struct A x, struct B y, C z, union F f, struct H h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/annotation_tag.compat.c b/tests/expectations/annotation_tag.compat.c index a23c97ae1..ab022610c 100644 --- a/tests/expectations/annotation_tag.compat.c +++ b/tests/expectations/annotation_tag.compat.c @@ -87,5 +87,5 @@ extern "C" { void root(struct A x, struct B y, C z, union F f, struct H h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/array.compat.c b/tests/expectations/array.compat.c index d5d7661d5..6a829e170 100644 --- a/tests/expectations/array.compat.c +++ b/tests/expectations/array.compat.c @@ -23,5 +23,5 @@ extern "C" { void root(Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/array.cpp b/tests/expectations/array.cpp index 1a5751910..7e34fe9ca 100644 --- a/tests/expectations/array.cpp +++ b/tests/expectations/array.cpp @@ -36,4 +36,4 @@ extern "C" { void root(Foo a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/array_both.compat.c b/tests/expectations/array_both.compat.c index d3c7308bf..ef3a7919c 100644 --- a/tests/expectations/array_both.compat.c +++ b/tests/expectations/array_both.compat.c @@ -23,5 +23,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/array_tag.compat.c b/tests/expectations/array_tag.compat.c index ea11fbf35..0a9a53137 100644 --- a/tests/expectations/array_tag.compat.c +++ b/tests/expectations/array_tag.compat.c @@ -23,5 +23,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/asserted_cast.compat.c b/tests/expectations/asserted_cast.compat.c index 5dee70404..2d75731f0 100644 --- a/tests/expectations/asserted_cast.compat.c +++ b/tests/expectations/asserted_cast.compat.c @@ -100,5 +100,5 @@ extern "C" { void foo(H h, I i, J j, K k); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/asserted_cast.cpp b/tests/expectations/asserted_cast.cpp index 8e0517ef5..3dfe52041 100644 --- a/tests/expectations/asserted_cast.cpp +++ b/tests/expectations/asserted_cast.cpp @@ -247,4 +247,4 @@ extern "C" { void foo(H h, I i, J j, K k); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/asserted_cast_both.compat.c b/tests/expectations/asserted_cast_both.compat.c index 4eabaf398..815190b51 100644 --- a/tests/expectations/asserted_cast_both.compat.c +++ b/tests/expectations/asserted_cast_both.compat.c @@ -100,5 +100,5 @@ extern "C" { void foo(struct H h, struct I i, struct J j, union K k); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/asserted_cast_tag.compat.c b/tests/expectations/asserted_cast_tag.compat.c index 2e89b46e1..005aadc7d 100644 --- a/tests/expectations/asserted_cast_tag.compat.c +++ b/tests/expectations/asserted_cast_tag.compat.c @@ -100,5 +100,5 @@ extern "C" { void foo(struct H h, struct I i, struct J j, union K k); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/assoc_constant.compat.c b/tests/expectations/assoc_constant.compat.c index 092e0d44c..711ed8d6c 100644 --- a/tests/expectations/assoc_constant.compat.c +++ b/tests/expectations/assoc_constant.compat.c @@ -16,5 +16,5 @@ extern "C" { void root(Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/assoc_constant.cpp b/tests/expectations/assoc_constant.cpp index 07a0dbd06..599322923 100644 --- a/tests/expectations/assoc_constant.cpp +++ b/tests/expectations/assoc_constant.cpp @@ -14,4 +14,4 @@ extern "C" { void root(Foo x); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/assoc_constant_both.compat.c b/tests/expectations/assoc_constant_both.compat.c index 3edd13e43..c137cce40 100644 --- a/tests/expectations/assoc_constant_both.compat.c +++ b/tests/expectations/assoc_constant_both.compat.c @@ -16,5 +16,5 @@ extern "C" { void root(struct Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/assoc_constant_tag.compat.c b/tests/expectations/assoc_constant_tag.compat.c index afba694f2..3ce582db7 100644 --- a/tests/expectations/assoc_constant_tag.compat.c +++ b/tests/expectations/assoc_constant_tag.compat.c @@ -16,5 +16,5 @@ extern "C" { void root(struct Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/associated_in_body.compat.c b/tests/expectations/associated_in_body.compat.c index a7d61ab36..095ed2169 100644 --- a/tests/expectations/associated_in_body.compat.c +++ b/tests/expectations/associated_in_body.compat.c @@ -63,5 +63,5 @@ extern "C" { void root(StyleAlignFlags flags, StyleNativeTileId tile); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/associated_in_body.cpp b/tests/expectations/associated_in_body.cpp index e93a63fb0..edbcbea40 100644 --- a/tests/expectations/associated_in_body.cpp +++ b/tests/expectations/associated_in_body.cpp @@ -81,4 +81,4 @@ extern "C" { void root(StyleAlignFlags flags, StyleNativeTileId tile); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/associated_in_body_both.compat.c b/tests/expectations/associated_in_body_both.compat.c index 926d7d3e4..3187ea3fa 100644 --- a/tests/expectations/associated_in_body_both.compat.c +++ b/tests/expectations/associated_in_body_both.compat.c @@ -63,5 +63,5 @@ extern "C" { void root(struct StyleAlignFlags flags, struct StyleNativeTileId tile); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/associated_in_body_tag.compat.c b/tests/expectations/associated_in_body_tag.compat.c index 901dd6e46..7f4c486d1 100644 --- a/tests/expectations/associated_in_body_tag.compat.c +++ b/tests/expectations/associated_in_body_tag.compat.c @@ -63,5 +63,5 @@ extern "C" { void root(struct StyleAlignFlags flags, struct StyleNativeTileId tile); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/bitfield.compat.c b/tests/expectations/bitfield.compat.c index aa906faa6..208f8892a 100644 --- a/tests/expectations/bitfield.compat.c +++ b/tests/expectations/bitfield.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(const HasBitfields*); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/bitfield.cpp b/tests/expectations/bitfield.cpp index 3deb53fb8..640efb03a 100644 --- a/tests/expectations/bitfield.cpp +++ b/tests/expectations/bitfield.cpp @@ -13,4 +13,4 @@ extern "C" { void root(const HasBitfields*); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/bitfield_both.compat.c b/tests/expectations/bitfield_both.compat.c index b4ad79701..4d4df0e66 100644 --- a/tests/expectations/bitfield_both.compat.c +++ b/tests/expectations/bitfield_both.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(const struct HasBitfields*); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/bitfield_tag.compat.c b/tests/expectations/bitfield_tag.compat.c index 6aa8aed46..630ed741c 100644 --- a/tests/expectations/bitfield_tag.compat.c +++ b/tests/expectations/bitfield_tag.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(const struct HasBitfields*); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/bitflags.compat.c b/tests/expectations/bitflags.compat.c index 3ff2b4613..1a372e6f8 100644 --- a/tests/expectations/bitflags.compat.c +++ b/tests/expectations/bitflags.compat.c @@ -69,5 +69,5 @@ void root(AlignFlags flags, OutOfLine out_of_line); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/bitflags.cpp b/tests/expectations/bitflags.cpp index 7ad71b9ae..13bc3c524 100644 --- a/tests/expectations/bitflags.cpp +++ b/tests/expectations/bitflags.cpp @@ -163,4 +163,4 @@ void root(AlignFlags flags, LargeFlags largest_flags, OutOfLine out_of_line); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/bitflags_both.compat.c b/tests/expectations/bitflags_both.compat.c index 13591e3be..35513e63d 100644 --- a/tests/expectations/bitflags_both.compat.c +++ b/tests/expectations/bitflags_both.compat.c @@ -69,5 +69,5 @@ void root(struct AlignFlags flags, struct OutOfLine out_of_line); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/bitflags_tag.compat.c b/tests/expectations/bitflags_tag.compat.c index dc310d4f5..fe8e74691 100644 --- a/tests/expectations/bitflags_tag.compat.c +++ b/tests/expectations/bitflags_tag.compat.c @@ -69,5 +69,5 @@ void root(struct AlignFlags flags, struct OutOfLine out_of_line); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/body.compat.c b/tests/expectations/body.compat.c index c92d27a3c..f61ccd0e5 100644 --- a/tests/expectations/body.compat.c +++ b/tests/expectations/body.compat.c @@ -97,5 +97,5 @@ void root(MyFancyStruct s, MyUnion_Prepended up); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/body.cpp b/tests/expectations/body.cpp index c98257608..ba974db1f 100644 --- a/tests/expectations/body.cpp +++ b/tests/expectations/body.cpp @@ -103,4 +103,4 @@ void root(MyFancyStruct s, MyCLikeEnum_Prepended cp, MyUnion_Prepended up); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/body_both.compat.c b/tests/expectations/body_both.compat.c index f5381ff06..7b6c7d934 100644 --- a/tests/expectations/body_both.compat.c +++ b/tests/expectations/body_both.compat.c @@ -97,5 +97,5 @@ void root(struct MyFancyStruct s, union MyUnion_Prepended up); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/body_tag.compat.c b/tests/expectations/body_tag.compat.c index 77c8277bb..4810d0133 100644 --- a/tests/expectations/body_tag.compat.c +++ b/tests/expectations/body_tag.compat.c @@ -97,5 +97,5 @@ void root(struct MyFancyStruct s, union MyUnion_Prepended up); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/box.compat.c b/tests/expectations/box.compat.c index cc05edfbb..686d2a38a 100644 --- a/tests/expectations/box.compat.c +++ b/tests/expectations/box.compat.c @@ -36,5 +36,5 @@ void drop_box(int32_t *x); void drop_box_opt(int32_t *x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/box.cpp b/tests/expectations/box.cpp index 423c9875a..76a5ef773 100644 --- a/tests/expectations/box.cpp +++ b/tests/expectations/box.cpp @@ -38,4 +38,4 @@ void drop_box(Box x); void drop_box_opt(Option> x); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/box_both.compat.c b/tests/expectations/box_both.compat.c index 31779700e..dc8c3cba2 100644 --- a/tests/expectations/box_both.compat.c +++ b/tests/expectations/box_both.compat.c @@ -36,5 +36,5 @@ void drop_box(int32_t *x); void drop_box_opt(int32_t *x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/box_tag.compat.c b/tests/expectations/box_tag.compat.c index a61e3a2a0..2290dc3b1 100644 --- a/tests/expectations/box_tag.compat.c +++ b/tests/expectations/box_tag.compat.c @@ -36,5 +36,5 @@ void drop_box(int32_t *x); void drop_box_opt(int32_t *x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cdecl.compat.c b/tests/expectations/cdecl.compat.c index 1d1d11e65..1b89fbdd5 100644 --- a/tests/expectations/cdecl.compat.c +++ b/tests/expectations/cdecl.compat.c @@ -42,5 +42,5 @@ void (*O(void))(void); void root(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k, L l, M m, N n, P p); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cdecl.cpp b/tests/expectations/cdecl.cpp index 4545fe3bd..e4c9268ac 100644 --- a/tests/expectations/cdecl.cpp +++ b/tests/expectations/cdecl.cpp @@ -40,4 +40,4 @@ void (*O())(); void root(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k, L l, M m, N n, P p); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/cell.compat.c b/tests/expectations/cell.compat.c index f2fbb8bfc..8cf35cad2 100644 --- a/tests/expectations/cell.compat.c +++ b/tests/expectations/cell.compat.c @@ -18,5 +18,5 @@ extern "C" { void root(const Foo *a, const MyStruct *with_cell); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cell.cpp b/tests/expectations/cell.cpp index e2462fb16..f863e794c 100644 --- a/tests/expectations/cell.cpp +++ b/tests/expectations/cell.cpp @@ -20,4 +20,4 @@ extern "C" { void root(const Foo *a, const MyStruct *with_cell); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/cell_both.compat.c b/tests/expectations/cell_both.compat.c index 251669584..53ea3efae 100644 --- a/tests/expectations/cell_both.compat.c +++ b/tests/expectations/cell_both.compat.c @@ -18,5 +18,5 @@ extern "C" { void root(const Foo *a, const struct MyStruct *with_cell); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cell_tag.compat.c b/tests/expectations/cell_tag.compat.c index 9e73b0d5c..ed26a79a1 100644 --- a/tests/expectations/cell_tag.compat.c +++ b/tests/expectations/cell_tag.compat.c @@ -18,5 +18,5 @@ extern "C" { void root(const Foo *a, const struct MyStruct *with_cell); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cfg.compat.c b/tests/expectations/cfg.compat.c index 8c01f08e5..e98f3ad4d 100644 --- a/tests/expectations/cfg.compat.c +++ b/tests/expectations/cfg.compat.c @@ -124,5 +124,5 @@ extern void bar(Normal a); #endif #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cfg.cpp b/tests/expectations/cfg.cpp index 54b2eccc0..6e7c33cfb 100644 --- a/tests/expectations/cfg.cpp +++ b/tests/expectations/cfg.cpp @@ -236,4 +236,4 @@ extern int32_t foo(); extern void bar(Normal a); #endif -} // extern "C" +} // extern "C" diff --git a/tests/expectations/cfg_2.compat.c b/tests/expectations/cfg_2.compat.c index 6a0047ab5..5f9a0ad56 100644 --- a/tests/expectations/cfg_2.compat.c +++ b/tests/expectations/cfg_2.compat.c @@ -46,5 +46,5 @@ extern "C" { void root(Root a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cfg_2.cpp b/tests/expectations/cfg_2.cpp index 40aee4870..32ebc244c 100644 --- a/tests/expectations/cfg_2.cpp +++ b/tests/expectations/cfg_2.cpp @@ -44,4 +44,4 @@ extern "C" { void root(Root a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/cfg_2_both.compat.c b/tests/expectations/cfg_2_both.compat.c index ffb1f1b4e..08b471da3 100644 --- a/tests/expectations/cfg_2_both.compat.c +++ b/tests/expectations/cfg_2_both.compat.c @@ -46,5 +46,5 @@ extern "C" { void root(struct Root a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cfg_2_tag.compat.c b/tests/expectations/cfg_2_tag.compat.c index 62a258d00..8930fe836 100644 --- a/tests/expectations/cfg_2_tag.compat.c +++ b/tests/expectations/cfg_2_tag.compat.c @@ -46,5 +46,5 @@ extern "C" { void root(struct Root a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cfg_both.compat.c b/tests/expectations/cfg_both.compat.c index 1a2da53d1..671d1c714 100644 --- a/tests/expectations/cfg_both.compat.c +++ b/tests/expectations/cfg_both.compat.c @@ -124,5 +124,5 @@ extern void bar(struct Normal a); #endif #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/cfg_tag.compat.c b/tests/expectations/cfg_tag.compat.c index 48768ab45..a40fc703d 100644 --- a/tests/expectations/cfg_tag.compat.c +++ b/tests/expectations/cfg_tag.compat.c @@ -124,5 +124,5 @@ extern void bar(struct Normal a); #endif #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/char.compat.c b/tests/expectations/char.compat.c index 59253a648..b6ea86e20 100644 --- a/tests/expectations/char.compat.c +++ b/tests/expectations/char.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/char.cpp b/tests/expectations/char.cpp index b80198928..354541df5 100644 --- a/tests/expectations/char.cpp +++ b/tests/expectations/char.cpp @@ -12,4 +12,4 @@ extern "C" { void root(Foo a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/char_both.compat.c b/tests/expectations/char_both.compat.c index bb69e531d..974f2286c 100644 --- a/tests/expectations/char_both.compat.c +++ b/tests/expectations/char_both.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/char_tag.compat.c b/tests/expectations/char_tag.compat.c index b1574c51c..e68ba35a2 100644 --- a/tests/expectations/char_tag.compat.c +++ b/tests/expectations/char_tag.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics.compat.c b/tests/expectations/const_generics.compat.c index 40ded76cb..5d149c352 100644 --- a/tests/expectations/const_generics.compat.c +++ b/tests/expectations/const_generics.compat.c @@ -21,5 +21,5 @@ extern "C" { void root(Book *a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics.cpp b/tests/expectations/const_generics.cpp index e5157e622..68a0ae734 100644 --- a/tests/expectations/const_generics.cpp +++ b/tests/expectations/const_generics.cpp @@ -18,4 +18,4 @@ extern "C" { void root(Book *a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/const_generics_arrayvec.compat.c b/tests/expectations/const_generics_arrayvec.compat.c index 3ed7a89d9..c5267b281 100644 --- a/tests/expectations/const_generics_arrayvec.compat.c +++ b/tests/expectations/const_generics_arrayvec.compat.c @@ -15,5 +15,5 @@ extern "C" { int32_t push(ArrayVec_____u8__100 *v, uint8_t *elem); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_arrayvec.cpp b/tests/expectations/const_generics_arrayvec.cpp index 5e63c744b..73e797fcd 100644 --- a/tests/expectations/const_generics_arrayvec.cpp +++ b/tests/expectations/const_generics_arrayvec.cpp @@ -14,4 +14,4 @@ extern "C" { int32_t push(ArrayVec *v, uint8_t *elem); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/const_generics_arrayvec_both.compat.c b/tests/expectations/const_generics_arrayvec_both.compat.c index 3c382bac5..313d761d2 100644 --- a/tests/expectations/const_generics_arrayvec_both.compat.c +++ b/tests/expectations/const_generics_arrayvec_both.compat.c @@ -15,5 +15,5 @@ extern "C" { int32_t push(struct ArrayVec_____u8__100 *v, uint8_t *elem); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_arrayvec_tag.compat.c b/tests/expectations/const_generics_arrayvec_tag.compat.c index cf45ebcca..019aaa531 100644 --- a/tests/expectations/const_generics_arrayvec_tag.compat.c +++ b/tests/expectations/const_generics_arrayvec_tag.compat.c @@ -15,5 +15,5 @@ extern "C" { int32_t push(struct ArrayVec_____u8__100 *v, uint8_t *elem); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_bool.compat.c b/tests/expectations/const_generics_bool.compat.c index 304c38dda..9110e228c 100644 --- a/tests/expectations/const_generics_bool.compat.c +++ b/tests/expectations/const_generics_bool.compat.c @@ -40,5 +40,5 @@ HashTable_Str__u64__true *new_map(void); void map_for_each(const HashTable_Str__u64__true *map, MapCallback callback); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_bool.cpp b/tests/expectations/const_generics_bool.cpp index f2ee08be6..90b594d52 100644 --- a/tests/expectations/const_generics_bool.cpp +++ b/tests/expectations/const_generics_bool.cpp @@ -34,4 +34,4 @@ HashTable *new_map(); void map_for_each(const HashTable *map, MapCallback callback); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/const_generics_bool_both.compat.c b/tests/expectations/const_generics_bool_both.compat.c index ad87976a3..c1a44cde3 100644 --- a/tests/expectations/const_generics_bool_both.compat.c +++ b/tests/expectations/const_generics_bool_both.compat.c @@ -40,5 +40,5 @@ struct HashTable_Str__u64__true *new_map(void); void map_for_each(const struct HashTable_Str__u64__true *map, MapCallback callback); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_bool_tag.compat.c b/tests/expectations/const_generics_bool_tag.compat.c index 4b1279818..87faa6d73 100644 --- a/tests/expectations/const_generics_bool_tag.compat.c +++ b/tests/expectations/const_generics_bool_tag.compat.c @@ -40,5 +40,5 @@ struct HashTable_Str__u64__true *new_map(void); void map_for_each(const struct HashTable_Str__u64__true *map, MapCallback callback); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_both.compat.c b/tests/expectations/const_generics_both.compat.c index 3274454af..245cc46fa 100644 --- a/tests/expectations/const_generics_both.compat.c +++ b/tests/expectations/const_generics_both.compat.c @@ -21,5 +21,5 @@ extern "C" { void root(struct Book *a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_byte.compat.c b/tests/expectations/const_generics_byte.compat.c index 6cf6102d9..edfa9dd94 100644 --- a/tests/expectations/const_generics_byte.compat.c +++ b/tests/expectations/const_generics_byte.compat.c @@ -24,5 +24,5 @@ void destroy_parens_parser(Parser_40__41 *p); void init_braces_parser(Parser_123__125 *p, uint8_t *buf, uintptr_t len); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_byte.cpp b/tests/expectations/const_generics_byte.cpp index 118dc98fa..411f9fd1d 100644 --- a/tests/expectations/const_generics_byte.cpp +++ b/tests/expectations/const_generics_byte.cpp @@ -18,4 +18,4 @@ void destroy_parens_parser(Parser<40, 41> *p); void init_braces_parser(Parser<123, 125> *p, uint8_t *buf, uintptr_t len); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/const_generics_byte_both.compat.c b/tests/expectations/const_generics_byte_both.compat.c index 4d15803f4..c3ae14be2 100644 --- a/tests/expectations/const_generics_byte_both.compat.c +++ b/tests/expectations/const_generics_byte_both.compat.c @@ -24,5 +24,5 @@ void destroy_parens_parser(struct Parser_40__41 *p); void init_braces_parser(struct Parser_123__125 *p, uint8_t *buf, uintptr_t len); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_byte_tag.compat.c b/tests/expectations/const_generics_byte_tag.compat.c index 85172fde3..a25480e33 100644 --- a/tests/expectations/const_generics_byte_tag.compat.c +++ b/tests/expectations/const_generics_byte_tag.compat.c @@ -24,5 +24,5 @@ void destroy_parens_parser(struct Parser_40__41 *p); void init_braces_parser(struct Parser_123__125 *p, uint8_t *buf, uintptr_t len); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_char.compat.c b/tests/expectations/const_generics_char.compat.c index 7ea7ba028..57d64ac20 100644 --- a/tests/expectations/const_generics_char.compat.c +++ b/tests/expectations/const_generics_char.compat.c @@ -16,5 +16,5 @@ extern "C" { TakeUntil_0 until_nul(const uint8_t *start, uintptr_t len); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_char.cpp b/tests/expectations/const_generics_char.cpp index 22376ccd6..7c5108cfa 100644 --- a/tests/expectations/const_generics_char.cpp +++ b/tests/expectations/const_generics_char.cpp @@ -15,4 +15,4 @@ extern "C" { TakeUntil<0> until_nul(const uint8_t *start, uintptr_t len); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/const_generics_char_both.compat.c b/tests/expectations/const_generics_char_both.compat.c index 65f152ef9..a265c724d 100644 --- a/tests/expectations/const_generics_char_both.compat.c +++ b/tests/expectations/const_generics_char_both.compat.c @@ -16,5 +16,5 @@ extern "C" { struct TakeUntil_0 until_nul(const uint8_t *start, uintptr_t len); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_char_tag.compat.c b/tests/expectations/const_generics_char_tag.compat.c index 71c01fb6f..749270619 100644 --- a/tests/expectations/const_generics_char_tag.compat.c +++ b/tests/expectations/const_generics_char_tag.compat.c @@ -16,5 +16,5 @@ extern "C" { struct TakeUntil_0 until_nul(const uint8_t *start, uintptr_t len); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_constant.compat.c b/tests/expectations/const_generics_constant.compat.c index 14ebfa2d4..e40eecab8 100644 --- a/tests/expectations/const_generics_constant.compat.c +++ b/tests/expectations/const_generics_constant.compat.c @@ -23,5 +23,5 @@ extern "C" { void root(FontWeight w); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_constant.cpp b/tests/expectations/const_generics_constant.cpp index 715a071a0..f0dd5fd71 100644 --- a/tests/expectations/const_generics_constant.cpp +++ b/tests/expectations/const_generics_constant.cpp @@ -22,4 +22,4 @@ extern "C" { void root(FontWeight w); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/const_generics_constant_both.compat.c b/tests/expectations/const_generics_constant_both.compat.c index ce880aeb0..23f6e6c1b 100644 --- a/tests/expectations/const_generics_constant_both.compat.c +++ b/tests/expectations/const_generics_constant_both.compat.c @@ -23,5 +23,5 @@ extern "C" { void root(struct FontWeight w); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_constant_tag.compat.c b/tests/expectations/const_generics_constant_tag.compat.c index fc115cff1..cd8dab31f 100644 --- a/tests/expectations/const_generics_constant_tag.compat.c +++ b/tests/expectations/const_generics_constant_tag.compat.c @@ -23,5 +23,5 @@ extern "C" { void root(struct FontWeight w); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_tag.compat.c b/tests/expectations/const_generics_tag.compat.c index f764e5b3c..1d9b90d45 100644 --- a/tests/expectations/const_generics_tag.compat.c +++ b/tests/expectations/const_generics_tag.compat.c @@ -21,5 +21,5 @@ extern "C" { void root(struct Book *a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_thru.compat.c b/tests/expectations/const_generics_thru.compat.c index d80c949ea..b17b95be9 100644 --- a/tests/expectations/const_generics_thru.compat.c +++ b/tests/expectations/const_generics_thru.compat.c @@ -28,5 +28,5 @@ Outer_1 one(void); Outer_2 two(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_thru.cpp b/tests/expectations/const_generics_thru.cpp index 0ca252926..de646d975 100644 --- a/tests/expectations/const_generics_thru.cpp +++ b/tests/expectations/const_generics_thru.cpp @@ -20,4 +20,4 @@ Outer<1> one(); Outer<2> two(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/const_generics_thru_both.compat.c b/tests/expectations/const_generics_thru_both.compat.c index 8659d4e4b..6237dcf4f 100644 --- a/tests/expectations/const_generics_thru_both.compat.c +++ b/tests/expectations/const_generics_thru_both.compat.c @@ -28,5 +28,5 @@ struct Outer_1 one(void); struct Outer_2 two(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/const_generics_thru_tag.compat.c b/tests/expectations/const_generics_thru_tag.compat.c index 55d58f216..abc5f9999 100644 --- a/tests/expectations/const_generics_thru_tag.compat.c +++ b/tests/expectations/const_generics_thru_tag.compat.c @@ -28,5 +28,5 @@ struct Outer_1 one(void); struct Outer_2 two(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/constant.compat.c b/tests/expectations/constant.compat.c index 654a75ec4..2906a062d 100644 --- a/tests/expectations/constant.compat.c +++ b/tests/expectations/constant.compat.c @@ -57,5 +57,5 @@ extern "C" { void root(Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/constant.cpp b/tests/expectations/constant.cpp index a43099dfb..b72206b62 100644 --- a/tests/expectations/constant.cpp +++ b/tests/expectations/constant.cpp @@ -51,4 +51,4 @@ extern "C" { void root(Foo x); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/constant_both.compat.c b/tests/expectations/constant_both.compat.c index 08843c64d..467fd70e9 100644 --- a/tests/expectations/constant_both.compat.c +++ b/tests/expectations/constant_both.compat.c @@ -57,5 +57,5 @@ extern "C" { void root(struct Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/constant_sort_name.compat.c b/tests/expectations/constant_sort_name.compat.c index 1b9032aef..2090b6cf6 100644 --- a/tests/expectations/constant_sort_name.compat.c +++ b/tests/expectations/constant_sort_name.compat.c @@ -16,5 +16,5 @@ extern const uint8_t C; extern const uint8_t D; #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/constant_sort_name.cpp b/tests/expectations/constant_sort_name.cpp index 1a7dd5028..d0cd07aa3 100644 --- a/tests/expectations/constant_sort_name.cpp +++ b/tests/expectations/constant_sort_name.cpp @@ -14,4 +14,4 @@ extern const uint8_t C; extern const uint8_t D; -} // extern "C" +} // extern "C" diff --git a/tests/expectations/constant_sort_none.compat.c b/tests/expectations/constant_sort_none.compat.c index c9c74453a..a61fa15bc 100644 --- a/tests/expectations/constant_sort_none.compat.c +++ b/tests/expectations/constant_sort_none.compat.c @@ -16,5 +16,5 @@ extern const uint8_t D; extern const uint8_t C; #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/constant_sort_none.cpp b/tests/expectations/constant_sort_none.cpp index c5571e9b8..17113a9ca 100644 --- a/tests/expectations/constant_sort_none.cpp +++ b/tests/expectations/constant_sort_none.cpp @@ -14,4 +14,4 @@ extern const uint8_t D; extern const uint8_t C; -} // extern "C" +} // extern "C" diff --git a/tests/expectations/constant_tag.compat.c b/tests/expectations/constant_tag.compat.c index 2154e49f0..d406f5e70 100644 --- a/tests/expectations/constant_tag.compat.c +++ b/tests/expectations/constant_tag.compat.c @@ -57,5 +57,5 @@ extern "C" { void root(struct Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/custom_header.compat.c b/tests/expectations/custom_header.compat.c index 7adabf2e9..9b99752c4 100644 --- a/tests/expectations/custom_header.compat.c +++ b/tests/expectations/custom_header.compat.c @@ -10,8 +10,8 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #if 0 # This is a simple test to ensure that trailers do not cause extra newlines in files diff --git a/tests/expectations/custom_header.cpp b/tests/expectations/custom_header.cpp index c7313b118..a4d445a9e 100644 --- a/tests/expectations/custom_header.cpp +++ b/tests/expectations/custom_header.cpp @@ -7,7 +7,7 @@ extern "C" { void root(); -} // extern "C" +} // extern "C" #if 0 # This is a simple test to ensure that trailers do not cause extra newlines in files diff --git a/tests/expectations/decl_name_conflicting.compat.c b/tests/expectations/decl_name_conflicting.compat.c index a78700fb2..6866bb812 100644 --- a/tests/expectations/decl_name_conflicting.compat.c +++ b/tests/expectations/decl_name_conflicting.compat.c @@ -26,5 +26,5 @@ extern "C" { void root(BindGroupLayoutEntry entry); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/decl_name_conflicting.cpp b/tests/expectations/decl_name_conflicting.cpp index 74c2ae1cb..bc675c1bb 100644 --- a/tests/expectations/decl_name_conflicting.cpp +++ b/tests/expectations/decl_name_conflicting.cpp @@ -17,4 +17,4 @@ extern "C" { void root(BindGroupLayoutEntry entry); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/decl_name_conflicting_both.compat.c b/tests/expectations/decl_name_conflicting_both.compat.c index e8a8d499a..143f0d1dc 100644 --- a/tests/expectations/decl_name_conflicting_both.compat.c +++ b/tests/expectations/decl_name_conflicting_both.compat.c @@ -26,5 +26,5 @@ extern "C" { void root(struct BindGroupLayoutEntry entry); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/decl_name_conflicting_tag.compat.c b/tests/expectations/decl_name_conflicting_tag.compat.c index 601175650..df722be00 100644 --- a/tests/expectations/decl_name_conflicting_tag.compat.c +++ b/tests/expectations/decl_name_conflicting_tag.compat.c @@ -26,5 +26,5 @@ extern "C" { void root(struct BindGroupLayoutEntry entry); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/dep_v2.compat.c b/tests/expectations/dep_v2.compat.c index 4dc7fb377..52d47f8d9 100644 --- a/tests/expectations/dep_v2.compat.c +++ b/tests/expectations/dep_v2.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/dep_v2.cpp b/tests/expectations/dep_v2.cpp index 914b79869..1190c297b 100644 --- a/tests/expectations/dep_v2.cpp +++ b/tests/expectations/dep_v2.cpp @@ -13,4 +13,4 @@ extern "C" { uint32_t get_x(const dep_struct *dep_struct); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/dep_v2_both.compat.c b/tests/expectations/dep_v2_both.compat.c index 9cd14e491..9b6c2e3c2 100644 --- a/tests/expectations/dep_v2_both.compat.c +++ b/tests/expectations/dep_v2_both.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const struct dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/dep_v2_tag.compat.c b/tests/expectations/dep_v2_tag.compat.c index 344af6468..51aee8fcd 100644 --- a/tests/expectations/dep_v2_tag.compat.c +++ b/tests/expectations/dep_v2_tag.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const struct dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/deprecated.compat.c b/tests/expectations/deprecated.compat.c index 13ba81b65..dcdede489 100644 --- a/tests/expectations/deprecated.compat.c +++ b/tests/expectations/deprecated.compat.c @@ -115,5 +115,5 @@ void dummy(DeprecatedEnum a, EnumWithDeprecatedStructVariants f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/deprecated.cpp b/tests/expectations/deprecated.cpp index 8bb2b8792..d7bd3d634 100644 --- a/tests/expectations/deprecated.cpp +++ b/tests/expectations/deprecated.cpp @@ -89,4 +89,4 @@ void dummy(DeprecatedEnum a, DeprecatedStructWithNote e, EnumWithDeprecatedStructVariants f); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/deprecated_both.compat.c b/tests/expectations/deprecated_both.compat.c index 162041ca3..479aa730f 100644 --- a/tests/expectations/deprecated_both.compat.c +++ b/tests/expectations/deprecated_both.compat.c @@ -115,5 +115,5 @@ void dummy(DeprecatedEnum a, union EnumWithDeprecatedStructVariants f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/deprecated_tag.compat.c b/tests/expectations/deprecated_tag.compat.c index e56327ab0..322b79d25 100644 --- a/tests/expectations/deprecated_tag.compat.c +++ b/tests/expectations/deprecated_tag.compat.c @@ -115,5 +115,5 @@ void dummy(DeprecatedEnum a, union EnumWithDeprecatedStructVariants f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/derive_eq.compat.c b/tests/expectations/derive_eq.compat.c index 51a8e4dfd..d3037f88a 100644 --- a/tests/expectations/derive_eq.compat.c +++ b/tests/expectations/derive_eq.compat.c @@ -53,5 +53,5 @@ extern "C" { Foo root(Bar aBar); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/derive_eq.cpp b/tests/expectations/derive_eq.cpp index 46c10d49e..355fbd9c8 100644 --- a/tests/expectations/derive_eq.cpp +++ b/tests/expectations/derive_eq.cpp @@ -97,4 +97,4 @@ extern "C" { Foo root(Bar aBar); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/derive_eq_both.compat.c b/tests/expectations/derive_eq_both.compat.c index f628dd7cf..1a0a366c4 100644 --- a/tests/expectations/derive_eq_both.compat.c +++ b/tests/expectations/derive_eq_both.compat.c @@ -53,5 +53,5 @@ extern "C" { struct Foo root(union Bar aBar); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/derive_eq_tag.compat.c b/tests/expectations/derive_eq_tag.compat.c index 4e99d1c22..66f02aed1 100644 --- a/tests/expectations/derive_eq_tag.compat.c +++ b/tests/expectations/derive_eq_tag.compat.c @@ -53,5 +53,5 @@ extern "C" { struct Foo root(union Bar aBar); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/derive_ostream.compat.c b/tests/expectations/derive_ostream.compat.c index 60cb5fbc2..e235353db 100644 --- a/tests/expectations/derive_ostream.compat.c +++ b/tests/expectations/derive_ostream.compat.c @@ -117,5 +117,5 @@ extern "C" { void root(A a, B b, C c, D d, F f, H h, I i); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/derive_ostream.cpp b/tests/expectations/derive_ostream.cpp index 4831cad2f..447a27df4 100644 --- a/tests/expectations/derive_ostream.cpp +++ b/tests/expectations/derive_ostream.cpp @@ -181,4 +181,4 @@ extern "C" { void root(A a, B b, C c, D d, F f, H h, I i); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/derive_ostream_both.compat.c b/tests/expectations/derive_ostream_both.compat.c index ef6143dab..69165d1d2 100644 --- a/tests/expectations/derive_ostream_both.compat.c +++ b/tests/expectations/derive_ostream_both.compat.c @@ -117,5 +117,5 @@ extern "C" { void root(struct A a, struct B b, C c, struct D d, union F f, struct H h, struct I i); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/derive_ostream_tag.compat.c b/tests/expectations/derive_ostream_tag.compat.c index 430564b23..f7b1b77b0 100644 --- a/tests/expectations/derive_ostream_tag.compat.c +++ b/tests/expectations/derive_ostream_tag.compat.c @@ -117,5 +117,5 @@ extern "C" { void root(struct A a, struct B b, C c, struct D d, union F f, struct H h, struct I i); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/destructor_and_copy_ctor.compat.c b/tests/expectations/destructor_and_copy_ctor.compat.c index 832a5a498..f12119b0d 100644 --- a/tests/expectations/destructor_and_copy_ctor.compat.c +++ b/tests/expectations/destructor_and_copy_ctor.compat.c @@ -262,5 +262,5 @@ void root(const Foo_u32 *a, const Qux *g); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/destructor_and_copy_ctor.cpp b/tests/expectations/destructor_and_copy_ctor.cpp index 97110e4a6..005b0863e 100644 --- a/tests/expectations/destructor_and_copy_ctor.cpp +++ b/tests/expectations/destructor_and_copy_ctor.cpp @@ -709,4 +709,4 @@ void root(const Foo *a, const Tazzzz *f, const Qux *g); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/destructor_and_copy_ctor_both.compat.c b/tests/expectations/destructor_and_copy_ctor_both.compat.c index 4392a8c41..d151c7d81 100644 --- a/tests/expectations/destructor_and_copy_ctor_both.compat.c +++ b/tests/expectations/destructor_and_copy_ctor_both.compat.c @@ -262,5 +262,5 @@ void root(const struct Foo_u32 *a, const union Qux *g); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/destructor_and_copy_ctor_tag.compat.c b/tests/expectations/destructor_and_copy_ctor_tag.compat.c index 572499909..e6233263b 100644 --- a/tests/expectations/destructor_and_copy_ctor_tag.compat.c +++ b/tests/expectations/destructor_and_copy_ctor_tag.compat.c @@ -262,5 +262,5 @@ void root(const struct Foo_u32 *a, const union Qux *g); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/display_list.compat.c b/tests/expectations/display_list.compat.c index 164e4d0f2..79c7470dd 100644 --- a/tests/expectations/display_list.compat.c +++ b/tests/expectations/display_list.compat.c @@ -55,5 +55,5 @@ extern "C" { bool push_item(DisplayItem item); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/display_list.cpp b/tests/expectations/display_list.cpp index b65fc144d..09957fc67 100644 --- a/tests/expectations/display_list.cpp +++ b/tests/expectations/display_list.cpp @@ -48,4 +48,4 @@ extern "C" { bool push_item(DisplayItem item); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/display_list_both.compat.c b/tests/expectations/display_list_both.compat.c index 2a2e1d3a4..8dfd5223e 100644 --- a/tests/expectations/display_list_both.compat.c +++ b/tests/expectations/display_list_both.compat.c @@ -55,5 +55,5 @@ extern "C" { bool push_item(union DisplayItem item); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/display_list_tag.compat.c b/tests/expectations/display_list_tag.compat.c index 86f916573..ec7c2cd09 100644 --- a/tests/expectations/display_list_tag.compat.c +++ b/tests/expectations/display_list_tag.compat.c @@ -55,5 +55,5 @@ extern "C" { bool push_item(union DisplayItem item); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/doclength_short.compat.c b/tests/expectations/doclength_short.compat.c index c871ab292..a1d883bac 100644 --- a/tests/expectations/doclength_short.compat.c +++ b/tests/expectations/doclength_short.compat.c @@ -18,5 +18,5 @@ void root(void); void trunk(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/doclength_short.cpp b/tests/expectations/doclength_short.cpp index 162a0503b..9ea102e3b 100644 --- a/tests/expectations/doclength_short.cpp +++ b/tests/expectations/doclength_short.cpp @@ -12,4 +12,4 @@ void root(); /// A little above the root, and a lot more visible, with a run-on sentence void trunk(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/docstyle_auto.compat.c b/tests/expectations/docstyle_auto.compat.c index c1c2987ce..5900aefd6 100644 --- a/tests/expectations/docstyle_auto.compat.c +++ b/tests/expectations/docstyle_auto.compat.c @@ -13,5 +13,5 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/docstyle_auto.cpp b/tests/expectations/docstyle_auto.cpp index e303a4510..bf814c1f7 100644 --- a/tests/expectations/docstyle_auto.cpp +++ b/tests/expectations/docstyle_auto.cpp @@ -9,4 +9,4 @@ extern "C" { /// The root of all evil. void root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/docstyle_c99.compat.c b/tests/expectations/docstyle_c99.compat.c index 2e5caf844..bf3028de8 100644 --- a/tests/expectations/docstyle_c99.compat.c +++ b/tests/expectations/docstyle_c99.compat.c @@ -11,5 +11,5 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/docstyle_c99.cpp b/tests/expectations/docstyle_c99.cpp index b0aa7c0d7..f32ff0de7 100644 --- a/tests/expectations/docstyle_c99.cpp +++ b/tests/expectations/docstyle_c99.cpp @@ -9,4 +9,4 @@ extern "C" { // The root of all evil. void root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/docstyle_doxy.compat.c b/tests/expectations/docstyle_doxy.compat.c index c1c2987ce..5900aefd6 100644 --- a/tests/expectations/docstyle_doxy.compat.c +++ b/tests/expectations/docstyle_doxy.compat.c @@ -13,5 +13,5 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/docstyle_doxy.cpp b/tests/expectations/docstyle_doxy.cpp index c5097e57b..314c33b6c 100644 --- a/tests/expectations/docstyle_doxy.cpp +++ b/tests/expectations/docstyle_doxy.cpp @@ -11,4 +11,4 @@ extern "C" { */ void root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/documentation.compat.c b/tests/expectations/documentation.compat.c index 9a4bf6a7d..76b4e6e45 100644 --- a/tests/expectations/documentation.compat.c +++ b/tests/expectations/documentation.compat.c @@ -35,5 +35,5 @@ extern const uint32_t FOO; void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/documentation.cpp b/tests/expectations/documentation.cpp index e640a879e..3b0109744 100644 --- a/tests/expectations/documentation.cpp +++ b/tests/expectations/documentation.cpp @@ -29,4 +29,4 @@ extern const uint32_t FOO; /// void root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/documentation_attr.compat.c b/tests/expectations/documentation_attr.compat.c index e7fe43bc2..7c31c6616 100644 --- a/tests/expectations/documentation_attr.compat.c +++ b/tests/expectations/documentation_attr.compat.c @@ -24,5 +24,5 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/documentation_attr.cpp b/tests/expectations/documentation_attr.cpp index 5f9857339..5daa98c67 100644 --- a/tests/expectations/documentation_attr.cpp +++ b/tests/expectations/documentation_attr.cpp @@ -20,4 +20,4 @@ extern "C" { ///Should break to next paragraph void root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/enum.compat.c b/tests/expectations/enum.compat.c index 3dc7c331d..86cedb9f2 100644 --- a/tests/expectations/enum.compat.c +++ b/tests/expectations/enum.compat.c @@ -316,8 +316,8 @@ void root(Opaque *opaque, R r); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #if 0 ''' ' diff --git a/tests/expectations/enum.cpp b/tests/expectations/enum.cpp index 2f16218a9..66d9209bf 100644 --- a/tests/expectations/enum.cpp +++ b/tests/expectations/enum.cpp @@ -253,7 +253,7 @@ void root(Opaque *opaque, Q q, R r); -} // extern "C" +} // extern "C" #if 0 ''' ' diff --git a/tests/expectations/enum_both.compat.c b/tests/expectations/enum_both.compat.c index 88d59a700..35488252b 100644 --- a/tests/expectations/enum_both.compat.c +++ b/tests/expectations/enum_both.compat.c @@ -316,8 +316,8 @@ void root(struct Opaque *opaque, struct R r); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #if 0 ''' ' diff --git a/tests/expectations/enum_discriminant.compat.c b/tests/expectations/enum_discriminant.compat.c index be57fde25..381ee4be1 100644 --- a/tests/expectations/enum_discriminant.compat.c +++ b/tests/expectations/enum_discriminant.compat.c @@ -29,5 +29,5 @@ extern "C" { void root(const E*); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/enum_discriminant.cpp b/tests/expectations/enum_discriminant.cpp index 818382356..68edbf685 100644 --- a/tests/expectations/enum_discriminant.cpp +++ b/tests/expectations/enum_discriminant.cpp @@ -20,4 +20,4 @@ extern "C" { void root(const E*); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/enum_self.compat.c b/tests/expectations/enum_self.compat.c index b52e3dfa0..0b5472dc7 100644 --- a/tests/expectations/enum_self.compat.c +++ b/tests/expectations/enum_self.compat.c @@ -39,5 +39,5 @@ extern "C" { void root(Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/enum_self.cpp b/tests/expectations/enum_self.cpp index c25dbeb80..37be086e6 100644 --- a/tests/expectations/enum_self.cpp +++ b/tests/expectations/enum_self.cpp @@ -37,4 +37,4 @@ extern "C" { void root(Bar b); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/enum_self_both.compat.c b/tests/expectations/enum_self_both.compat.c index 2b17fa51f..34d08e27f 100644 --- a/tests/expectations/enum_self_both.compat.c +++ b/tests/expectations/enum_self_both.compat.c @@ -39,5 +39,5 @@ extern "C" { void root(union Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/enum_self_tag.compat.c b/tests/expectations/enum_self_tag.compat.c index 575f3e20c..77f5a3813 100644 --- a/tests/expectations/enum_self_tag.compat.c +++ b/tests/expectations/enum_self_tag.compat.c @@ -39,5 +39,5 @@ extern "C" { void root(union Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/enum_tag.compat.c b/tests/expectations/enum_tag.compat.c index 73d64ba79..9662a6529 100644 --- a/tests/expectations/enum_tag.compat.c +++ b/tests/expectations/enum_tag.compat.c @@ -316,8 +316,8 @@ void root(struct Opaque *opaque, struct R r); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #if 0 ''' ' diff --git a/tests/expectations/euclid.compat.c b/tests/expectations/euclid.compat.c index 9a261dc23..9dc764caf 100644 --- a/tests/expectations/euclid.compat.c +++ b/tests/expectations/euclid.compat.c @@ -121,5 +121,5 @@ void root(TypedLength_f32__UnknownUnit length_a, TypedTransform2D_f32__LayoutUnit__UnknownUnit transform_b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/euclid.cpp b/tests/expectations/euclid.cpp index 36c808587..25f71a1a0 100644 --- a/tests/expectations/euclid.cpp +++ b/tests/expectations/euclid.cpp @@ -99,4 +99,4 @@ void root(TypedLength length_a, TypedTransform2D transform_a, TypedTransform2D transform_b); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/euclid_both.compat.c b/tests/expectations/euclid_both.compat.c index e4f9b902c..239efdc52 100644 --- a/tests/expectations/euclid_both.compat.c +++ b/tests/expectations/euclid_both.compat.c @@ -121,5 +121,5 @@ void root(struct TypedLength_f32__UnknownUnit length_a, struct TypedTransform2D_f32__LayoutUnit__UnknownUnit transform_b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/euclid_tag.compat.c b/tests/expectations/euclid_tag.compat.c index 61f6c0459..f4238da8a 100644 --- a/tests/expectations/euclid_tag.compat.c +++ b/tests/expectations/euclid_tag.compat.c @@ -121,5 +121,5 @@ void root(struct TypedLength_f32__UnknownUnit length_a, struct TypedTransform2D_f32__LayoutUnit__UnknownUnit transform_b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/exclude_generic_monomorph.compat.c b/tests/expectations/exclude_generic_monomorph.compat.c index 5c10d43a1..a02632200 100644 --- a/tests/expectations/exclude_generic_monomorph.compat.c +++ b/tests/expectations/exclude_generic_monomorph.compat.c @@ -32,5 +32,5 @@ extern "C" { void root(Bar f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/exclude_generic_monomorph_both.compat.c b/tests/expectations/exclude_generic_monomorph_both.compat.c index 3c1037efc..2447ac44c 100644 --- a/tests/expectations/exclude_generic_monomorph_both.compat.c +++ b/tests/expectations/exclude_generic_monomorph_both.compat.c @@ -32,5 +32,5 @@ extern "C" { void root(struct Bar f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/exclude_generic_monomorph_tag.compat.c b/tests/expectations/exclude_generic_monomorph_tag.compat.c index fa8e3a101..73d9650f5 100644 --- a/tests/expectations/exclude_generic_monomorph_tag.compat.c +++ b/tests/expectations/exclude_generic_monomorph_tag.compat.c @@ -32,5 +32,5 @@ extern "C" { void root(struct Bar f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand.compat.c b/tests/expectations/expand.compat.c index 173a13094..4251572cd 100644 --- a/tests/expectations/expand.compat.c +++ b/tests/expectations/expand.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand.cpp b/tests/expectations/expand.cpp index da67d077e..94cbd7112 100644 --- a/tests/expectations/expand.cpp +++ b/tests/expectations/expand.cpp @@ -12,4 +12,4 @@ extern "C" { void root(Foo a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/expand_both.compat.c b/tests/expectations/expand_both.compat.c index 5a235ae56..adb1db99b 100644 --- a/tests/expectations/expand_both.compat.c +++ b/tests/expectations/expand_both.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_default_features.compat.c b/tests/expectations/expand_default_features.compat.c index a35c09706..69c3a0603 100644 --- a/tests/expectations/expand_default_features.compat.c +++ b/tests/expectations/expand_default_features.compat.c @@ -16,5 +16,5 @@ void extra_debug_fn(void); void root(Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_default_features.cpp b/tests/expectations/expand_default_features.cpp index 57b6e2c3c..fd72681db 100644 --- a/tests/expectations/expand_default_features.cpp +++ b/tests/expectations/expand_default_features.cpp @@ -14,4 +14,4 @@ void extra_debug_fn(); void root(Foo a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/expand_default_features_both.compat.c b/tests/expectations/expand_default_features_both.compat.c index ce7318cfb..4ef30c073 100644 --- a/tests/expectations/expand_default_features_both.compat.c +++ b/tests/expectations/expand_default_features_both.compat.c @@ -16,5 +16,5 @@ void extra_debug_fn(void); void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_default_features_tag.compat.c b/tests/expectations/expand_default_features_tag.compat.c index 8180ac687..5af397fdd 100644 --- a/tests/expectations/expand_default_features_tag.compat.c +++ b/tests/expectations/expand_default_features_tag.compat.c @@ -16,5 +16,5 @@ void extra_debug_fn(void); void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_dep.compat.c b/tests/expectations/expand_dep.compat.c index 4dc7fb377..52d47f8d9 100644 --- a/tests/expectations/expand_dep.compat.c +++ b/tests/expectations/expand_dep.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_dep.cpp b/tests/expectations/expand_dep.cpp index 914b79869..1190c297b 100644 --- a/tests/expectations/expand_dep.cpp +++ b/tests/expectations/expand_dep.cpp @@ -13,4 +13,4 @@ extern "C" { uint32_t get_x(const dep_struct *dep_struct); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/expand_dep_both.compat.c b/tests/expectations/expand_dep_both.compat.c index 9cd14e491..9b6c2e3c2 100644 --- a/tests/expectations/expand_dep_both.compat.c +++ b/tests/expectations/expand_dep_both.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const struct dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_dep_tag.compat.c b/tests/expectations/expand_dep_tag.compat.c index 344af6468..51aee8fcd 100644 --- a/tests/expectations/expand_dep_tag.compat.c +++ b/tests/expectations/expand_dep_tag.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const struct dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_dep_v2.compat.c b/tests/expectations/expand_dep_v2.compat.c index 4dc7fb377..52d47f8d9 100644 --- a/tests/expectations/expand_dep_v2.compat.c +++ b/tests/expectations/expand_dep_v2.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_dep_v2.cpp b/tests/expectations/expand_dep_v2.cpp index 914b79869..1190c297b 100644 --- a/tests/expectations/expand_dep_v2.cpp +++ b/tests/expectations/expand_dep_v2.cpp @@ -13,4 +13,4 @@ extern "C" { uint32_t get_x(const dep_struct *dep_struct); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/expand_dep_v2_both.compat.c b/tests/expectations/expand_dep_v2_both.compat.c index 9cd14e491..9b6c2e3c2 100644 --- a/tests/expectations/expand_dep_v2_both.compat.c +++ b/tests/expectations/expand_dep_v2_both.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const struct dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_dep_v2_tag.compat.c b/tests/expectations/expand_dep_v2_tag.compat.c index 344af6468..51aee8fcd 100644 --- a/tests/expectations/expand_dep_v2_tag.compat.c +++ b/tests/expectations/expand_dep_v2_tag.compat.c @@ -15,5 +15,5 @@ extern "C" { uint32_t get_x(const struct dep_struct *dep_struct); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_features.compat.c b/tests/expectations/expand_features.compat.c index b65adc036..4ef3d04ce 100644 --- a/tests/expectations/expand_features.compat.c +++ b/tests/expectations/expand_features.compat.c @@ -18,5 +18,5 @@ void cbindgen(void); void root(Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_features.cpp b/tests/expectations/expand_features.cpp index 9174b12b6..2afa941c9 100644 --- a/tests/expectations/expand_features.cpp +++ b/tests/expectations/expand_features.cpp @@ -16,4 +16,4 @@ void cbindgen(); void root(Foo a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/expand_features_both.compat.c b/tests/expectations/expand_features_both.compat.c index e3ef2a636..2e8ebd06a 100644 --- a/tests/expectations/expand_features_both.compat.c +++ b/tests/expectations/expand_features_both.compat.c @@ -18,5 +18,5 @@ void cbindgen(void); void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_features_tag.compat.c b/tests/expectations/expand_features_tag.compat.c index ee9d4303f..033f16493 100644 --- a/tests/expectations/expand_features_tag.compat.c +++ b/tests/expectations/expand_features_tag.compat.c @@ -18,5 +18,5 @@ void cbindgen(void); void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_no_default_features.compat.c b/tests/expectations/expand_no_default_features.compat.c index 173a13094..4251572cd 100644 --- a/tests/expectations/expand_no_default_features.compat.c +++ b/tests/expectations/expand_no_default_features.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_no_default_features.cpp b/tests/expectations/expand_no_default_features.cpp index da67d077e..94cbd7112 100644 --- a/tests/expectations/expand_no_default_features.cpp +++ b/tests/expectations/expand_no_default_features.cpp @@ -12,4 +12,4 @@ extern "C" { void root(Foo a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/expand_no_default_features_both.compat.c b/tests/expectations/expand_no_default_features_both.compat.c index 5a235ae56..adb1db99b 100644 --- a/tests/expectations/expand_no_default_features_both.compat.c +++ b/tests/expectations/expand_no_default_features_both.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_no_default_features_tag.compat.c b/tests/expectations/expand_no_default_features_tag.compat.c index 144f9d260..2e2265cac 100644 --- a/tests/expectations/expand_no_default_features_tag.compat.c +++ b/tests/expectations/expand_no_default_features_tag.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/expand_tag.compat.c b/tests/expectations/expand_tag.compat.c index 144f9d260..2e2265cac 100644 --- a/tests/expectations/expand_tag.compat.c +++ b/tests/expectations/expand_tag.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/export_name.compat.c b/tests/expectations/export_name.compat.c index 16e7c094d..67d6638b6 100644 --- a/tests/expectations/export_name.compat.c +++ b/tests/expectations/export_name.compat.c @@ -10,5 +10,5 @@ extern "C" { void do_the_thing_with_export_name(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/export_name.cpp b/tests/expectations/export_name.cpp index 0182905a8..e6573103c 100644 --- a/tests/expectations/export_name.cpp +++ b/tests/expectations/export_name.cpp @@ -8,4 +8,4 @@ extern "C" { void do_the_thing_with_export_name(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/extern.compat.c b/tests/expectations/extern.compat.c index 7cf348439..5fd87fa59 100644 --- a/tests/expectations/extern.compat.c +++ b/tests/expectations/extern.compat.c @@ -19,5 +19,5 @@ extern void bar(Normal a); extern int32_t baz(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/extern.cpp b/tests/expectations/extern.cpp index ecdea3c11..90e62d9b1 100644 --- a/tests/expectations/extern.cpp +++ b/tests/expectations/extern.cpp @@ -17,4 +17,4 @@ extern void bar(Normal a); extern int32_t baz(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/extern_2.compat.c b/tests/expectations/extern_2.compat.c index 53851b3b7..4aa4fbf28 100644 --- a/tests/expectations/extern_2.compat.c +++ b/tests/expectations/extern_2.compat.c @@ -12,5 +12,5 @@ void first(void); void second(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/extern_2.cpp b/tests/expectations/extern_2.cpp index 511aa427e..2b6231b07 100644 --- a/tests/expectations/extern_2.cpp +++ b/tests/expectations/extern_2.cpp @@ -10,4 +10,4 @@ void first(); void second(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/extern_both.compat.c b/tests/expectations/extern_both.compat.c index dff58551d..954f5ff37 100644 --- a/tests/expectations/extern_both.compat.c +++ b/tests/expectations/extern_both.compat.c @@ -19,5 +19,5 @@ extern void bar(struct Normal a); extern int32_t baz(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/extern_tag.compat.c b/tests/expectations/extern_tag.compat.c index a2d9ea961..9a1a35176 100644 --- a/tests/expectations/extern_tag.compat.c +++ b/tests/expectations/extern_tag.compat.c @@ -19,5 +19,5 @@ extern void bar(struct Normal a); extern int32_t baz(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/external_workspace_child.compat.c b/tests/expectations/external_workspace_child.compat.c index 1529006ba..24046af91 100644 --- a/tests/expectations/external_workspace_child.compat.c +++ b/tests/expectations/external_workspace_child.compat.c @@ -14,5 +14,5 @@ extern "C" { void consume_ext(ExtType _ext); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/external_workspace_child.cpp b/tests/expectations/external_workspace_child.cpp index 79e14c050..aed160787 100644 --- a/tests/expectations/external_workspace_child.cpp +++ b/tests/expectations/external_workspace_child.cpp @@ -12,4 +12,4 @@ extern "C" { void consume_ext(ExtType _ext); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/external_workspace_child_both.compat.c b/tests/expectations/external_workspace_child_both.compat.c index 1bc8b1456..3a31441e1 100644 --- a/tests/expectations/external_workspace_child_both.compat.c +++ b/tests/expectations/external_workspace_child_both.compat.c @@ -14,5 +14,5 @@ extern "C" { void consume_ext(struct ExtType _ext); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/external_workspace_child_tag.compat.c b/tests/expectations/external_workspace_child_tag.compat.c index 1591a0ada..218e12f94 100644 --- a/tests/expectations/external_workspace_child_tag.compat.c +++ b/tests/expectations/external_workspace_child_tag.compat.c @@ -14,5 +14,5 @@ extern "C" { void consume_ext(struct ExtType _ext); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/fns.compat.c b/tests/expectations/fns.compat.c index f61419c0b..a5e27b167 100644 --- a/tests/expectations/fns.compat.c +++ b/tests/expectations/fns.compat.c @@ -20,5 +20,5 @@ void root(Fns _fns); void no_return(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/fns.cpp b/tests/expectations/fns.cpp index 1e5249662..bde5b37f0 100644 --- a/tests/expectations/fns.cpp +++ b/tests/expectations/fns.cpp @@ -18,4 +18,4 @@ void root(Fns _fns); void no_return(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/fns_both.compat.c b/tests/expectations/fns_both.compat.c index 16c9ee639..4089c07d2 100644 --- a/tests/expectations/fns_both.compat.c +++ b/tests/expectations/fns_both.compat.c @@ -20,5 +20,5 @@ void root(struct Fns _fns); void no_return(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/fns_tag.compat.c b/tests/expectations/fns_tag.compat.c index 84efce603..cf3aab5a0 100644 --- a/tests/expectations/fns_tag.compat.c +++ b/tests/expectations/fns_tag.compat.c @@ -20,5 +20,5 @@ void root(struct Fns _fns); void no_return(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/forward_declaration.compat.c b/tests/expectations/forward_declaration.compat.c index c45679afa..375fc8dce 100644 --- a/tests/expectations/forward_declaration.compat.c +++ b/tests/expectations/forward_declaration.compat.c @@ -44,8 +44,8 @@ extern "C" { void root(TypeInfo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #if 0 ''' ' diff --git a/tests/expectations/forward_declaration.cpp b/tests/expectations/forward_declaration.cpp index 2d1dfcb0d..766b79946 100644 --- a/tests/expectations/forward_declaration.cpp +++ b/tests/expectations/forward_declaration.cpp @@ -44,7 +44,7 @@ extern "C" { void root(TypeInfo x); -} // extern "C" +} // extern "C" #if 0 ''' ' diff --git a/tests/expectations/forward_declaration_both.compat.c b/tests/expectations/forward_declaration_both.compat.c index 0cdbd6d61..031e40c0a 100644 --- a/tests/expectations/forward_declaration_both.compat.c +++ b/tests/expectations/forward_declaration_both.compat.c @@ -44,8 +44,8 @@ extern "C" { void root(struct TypeInfo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #if 0 ''' ' diff --git a/tests/expectations/forward_declaration_tag.compat.c b/tests/expectations/forward_declaration_tag.compat.c index f9c224970..1a61c5e2d 100644 --- a/tests/expectations/forward_declaration_tag.compat.c +++ b/tests/expectations/forward_declaration_tag.compat.c @@ -44,8 +44,8 @@ extern "C" { void root(struct TypeInfo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #if 0 ''' ' diff --git a/tests/expectations/function_args.compat.c b/tests/expectations/function_args.compat.c index 7f9f24b9f..cf79a639d 100644 --- a/tests/expectations/function_args.compat.c +++ b/tests/expectations/function_args.compat.c @@ -14,5 +14,5 @@ void pointer_test(const uint64_t *a); void print_from_rust(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/function_args.cpp b/tests/expectations/function_args.cpp index 903f1bbc5..91eefff0e 100644 --- a/tests/expectations/function_args.cpp +++ b/tests/expectations/function_args.cpp @@ -12,4 +12,4 @@ void pointer_test(const uint64_t *a); void print_from_rust(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/function_noreturn.compat.c b/tests/expectations/function_noreturn.compat.c index 6ea836f09..29bdf8c21 100644 --- a/tests/expectations/function_noreturn.compat.c +++ b/tests/expectations/function_noreturn.compat.c @@ -24,5 +24,5 @@ void loop_forever(void) NO_RETURN_ATTR; uint8_t normal_return(Example arg, void (*other)(uint8_t) NO_RETURN_ATTR); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/function_noreturn.cpp b/tests/expectations/function_noreturn.cpp index 5adbe111a..bac5b8f81 100644 --- a/tests/expectations/function_noreturn.cpp +++ b/tests/expectations/function_noreturn.cpp @@ -22,4 +22,4 @@ void loop_forever() NO_RETURN_ATTR; uint8_t normal_return(Example arg, void (*other)(uint8_t) NO_RETURN_ATTR); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/function_noreturn_both.compat.c b/tests/expectations/function_noreturn_both.compat.c index 7336e5995..c231cbbf7 100644 --- a/tests/expectations/function_noreturn_both.compat.c +++ b/tests/expectations/function_noreturn_both.compat.c @@ -24,5 +24,5 @@ void loop_forever(void) NO_RETURN_ATTR; uint8_t normal_return(struct Example arg, void (*other)(uint8_t) NO_RETURN_ATTR); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/function_noreturn_tag.compat.c b/tests/expectations/function_noreturn_tag.compat.c index dcb0e5b0c..c2b80b534 100644 --- a/tests/expectations/function_noreturn_tag.compat.c +++ b/tests/expectations/function_noreturn_tag.compat.c @@ -24,5 +24,5 @@ void loop_forever(void) NO_RETURN_ATTR; uint8_t normal_return(struct Example arg, void (*other)(uint8_t) NO_RETURN_ATTR); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/function_ptr.compat.c b/tests/expectations/function_ptr.compat.c index be3870ce1..b20178060 100644 --- a/tests/expectations/function_ptr.compat.c +++ b/tests/expectations/function_ptr.compat.c @@ -18,5 +18,5 @@ extern "C" { void my_function(MyCallback a, MyOtherCallback b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/function_ptr.cpp b/tests/expectations/function_ptr.cpp index 217a16081..20c525802 100644 --- a/tests/expectations/function_ptr.cpp +++ b/tests/expectations/function_ptr.cpp @@ -16,4 +16,4 @@ extern "C" { void my_function(MyCallback a, MyOtherCallback b); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/function_sort_name.compat.c b/tests/expectations/function_sort_name.compat.c index 9e8c7d6f9..fa401acdb 100644 --- a/tests/expectations/function_sort_name.compat.c +++ b/tests/expectations/function_sort_name.compat.c @@ -16,5 +16,5 @@ void C(void); void D(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/function_sort_name.cpp b/tests/expectations/function_sort_name.cpp index d9de23707..4a885c369 100644 --- a/tests/expectations/function_sort_name.cpp +++ b/tests/expectations/function_sort_name.cpp @@ -14,4 +14,4 @@ void C(); void D(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/function_sort_none.compat.c b/tests/expectations/function_sort_none.compat.c index a6138f7f6..2b37491d3 100644 --- a/tests/expectations/function_sort_none.compat.c +++ b/tests/expectations/function_sort_none.compat.c @@ -16,5 +16,5 @@ void D(void); void A(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/function_sort_none.cpp b/tests/expectations/function_sort_none.cpp index 99b52e531..636c767d6 100644 --- a/tests/expectations/function_sort_none.cpp +++ b/tests/expectations/function_sort_none.cpp @@ -14,4 +14,4 @@ void D(); void A(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/generic_pointer.compat.c b/tests/expectations/generic_pointer.compat.c index 75c10171c..d5f3ac9c3 100644 --- a/tests/expectations/generic_pointer.compat.c +++ b/tests/expectations/generic_pointer.compat.c @@ -16,5 +16,5 @@ extern "C" { void root(Boo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/generic_pointer.cpp b/tests/expectations/generic_pointer.cpp index eb1a1effd..8b505147f 100644 --- a/tests/expectations/generic_pointer.cpp +++ b/tests/expectations/generic_pointer.cpp @@ -15,4 +15,4 @@ extern "C" { void root(Boo x); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/generic_pointer_both.compat.c b/tests/expectations/generic_pointer_both.compat.c index 3288ece6c..5b2981c7e 100644 --- a/tests/expectations/generic_pointer_both.compat.c +++ b/tests/expectations/generic_pointer_both.compat.c @@ -16,5 +16,5 @@ extern "C" { void root(Boo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/generic_pointer_tag.compat.c b/tests/expectations/generic_pointer_tag.compat.c index 0ab928561..07dee1525 100644 --- a/tests/expectations/generic_pointer_tag.compat.c +++ b/tests/expectations/generic_pointer_tag.compat.c @@ -16,5 +16,5 @@ extern "C" { void root(Boo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/global_variable.compat.c b/tests/expectations/global_variable.compat.c index ee7b9d15b..2e99b0281 100644 --- a/tests/expectations/global_variable.compat.c +++ b/tests/expectations/global_variable.compat.c @@ -12,5 +12,5 @@ extern char MUT_GLOBAL_ARRAY[128]; extern const char CONST_GLOBAL_ARRAY[128]; #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/global_variable.cpp b/tests/expectations/global_variable.cpp index 727f28bd9..121215261 100644 --- a/tests/expectations/global_variable.cpp +++ b/tests/expectations/global_variable.cpp @@ -10,4 +10,4 @@ extern char MUT_GLOBAL_ARRAY[128]; extern const char CONST_GLOBAL_ARRAY[128]; -} // extern "C" +} // extern "C" diff --git a/tests/expectations/ignore.compat.c b/tests/expectations/ignore.compat.c index a99dcee19..e8539fe4f 100644 --- a/tests/expectations/ignore.compat.c +++ b/tests/expectations/ignore.compat.c @@ -10,5 +10,5 @@ extern "C" { void no_ignore_root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/ignore.cpp b/tests/expectations/ignore.cpp index aa7cf5152..57ecfdfb1 100644 --- a/tests/expectations/ignore.cpp +++ b/tests/expectations/ignore.cpp @@ -8,4 +8,4 @@ extern "C" { void no_ignore_root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/include_guard.c b/tests/expectations/include_guard.c index eeecd48d0..d55161bbd 100644 --- a/tests/expectations/include_guard.c +++ b/tests/expectations/include_guard.c @@ -3,4 +3,4 @@ void root(void); -#endif /* INCLUDE_GUARD_H */ +#endif /* INCLUDE_GUARD_H */ diff --git a/tests/expectations/include_guard.compat.c b/tests/expectations/include_guard.compat.c index af1548fba..aea25de13 100644 --- a/tests/expectations/include_guard.compat.c +++ b/tests/expectations/include_guard.compat.c @@ -8,7 +8,7 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus -#endif /* INCLUDE_GUARD_H */ +#endif /* INCLUDE_GUARD_H */ diff --git a/tests/expectations/include_guard.cpp b/tests/expectations/include_guard.cpp index 5600fd324..a5bec6c59 100644 --- a/tests/expectations/include_guard.cpp +++ b/tests/expectations/include_guard.cpp @@ -5,6 +5,6 @@ extern "C" { void root(); -} // extern "C" +} // extern "C" -#endif // INCLUDE_GUARD_H +#endif // INCLUDE_GUARD_H diff --git a/tests/expectations/inner_mod.compat.c b/tests/expectations/inner_mod.compat.c index 6096ce2d9..6be528f03 100644 --- a/tests/expectations/inner_mod.compat.c +++ b/tests/expectations/inner_mod.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/inner_mod.cpp b/tests/expectations/inner_mod.cpp index 66afbba08..acdcb81d1 100644 --- a/tests/expectations/inner_mod.cpp +++ b/tests/expectations/inner_mod.cpp @@ -12,4 +12,4 @@ extern "C" { void root(Foo a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/inner_mod_both.compat.c b/tests/expectations/inner_mod_both.compat.c index d46bb80b5..f562f1311 100644 --- a/tests/expectations/inner_mod_both.compat.c +++ b/tests/expectations/inner_mod_both.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/inner_mod_tag.compat.c b/tests/expectations/inner_mod_tag.compat.c index fff900a84..5c5be2ee4 100644 --- a/tests/expectations/inner_mod_tag.compat.c +++ b/tests/expectations/inner_mod_tag.compat.c @@ -14,5 +14,5 @@ extern "C" { void root(struct Foo a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/lifetime_arg.compat.c b/tests/expectations/lifetime_arg.compat.c index 573f498b7..1c607b50e 100644 --- a/tests/expectations/lifetime_arg.compat.c +++ b/tests/expectations/lifetime_arg.compat.c @@ -28,5 +28,5 @@ extern "C" { void root(A _a, E _e); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/lifetime_arg.cpp b/tests/expectations/lifetime_arg.cpp index dc5ed995f..72b210341 100644 --- a/tests/expectations/lifetime_arg.cpp +++ b/tests/expectations/lifetime_arg.cpp @@ -28,4 +28,4 @@ extern "C" { void root(A _a, E _e); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/lifetime_arg_both.compat.c b/tests/expectations/lifetime_arg_both.compat.c index ab713cc6f..033e3c5cd 100644 --- a/tests/expectations/lifetime_arg_both.compat.c +++ b/tests/expectations/lifetime_arg_both.compat.c @@ -28,5 +28,5 @@ extern "C" { void root(struct A _a, struct E _e); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/lifetime_arg_tag.compat.c b/tests/expectations/lifetime_arg_tag.compat.c index 68b078c54..ec3791c30 100644 --- a/tests/expectations/lifetime_arg_tag.compat.c +++ b/tests/expectations/lifetime_arg_tag.compat.c @@ -28,5 +28,5 @@ extern "C" { void root(struct A _a, struct E _e); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/linestyle_cr.compat.c b/tests/expectations/linestyle_cr.compat.c index e8b5e52f4..54592952a 100644 --- a/tests/expectations/linestyle_cr.compat.c +++ b/tests/expectations/linestyle_cr.compat.c @@ -1 +1 @@ -#include #include #include #include typedef struct { int32_t x; float y; } Dummy; #ifdef __cplusplus extern "C" { #endif // __cplusplus void root(Dummy d); #ifdef __cplusplus } // extern "C" #endif // __cplusplus \ No newline at end of file +#include #include #include #include typedef struct { int32_t x; float y; } Dummy; #ifdef __cplusplus extern "C" { #endif // __cplusplus void root(Dummy d); #ifdef __cplusplus } // extern "C" #endif // __cplusplus \ No newline at end of file diff --git a/tests/expectations/linestyle_cr.cpp b/tests/expectations/linestyle_cr.cpp index b307d57f7..5f77d78b9 100644 --- a/tests/expectations/linestyle_cr.cpp +++ b/tests/expectations/linestyle_cr.cpp @@ -1 +1 @@ -#include #include #include #include #include struct Dummy { int32_t x; float y; }; extern "C" { void root(Dummy d); } // extern "C" \ No newline at end of file +#include #include #include #include #include struct Dummy { int32_t x; float y; }; extern "C" { void root(Dummy d); } // extern "C" \ No newline at end of file diff --git a/tests/expectations/linestyle_cr_both.compat.c b/tests/expectations/linestyle_cr_both.compat.c index 2af7888c5..34792f64d 100644 --- a/tests/expectations/linestyle_cr_both.compat.c +++ b/tests/expectations/linestyle_cr_both.compat.c @@ -1 +1 @@ -#include #include #include #include typedef struct Dummy { int32_t x; float y; } Dummy; #ifdef __cplusplus extern "C" { #endif // __cplusplus void root(struct Dummy d); #ifdef __cplusplus } // extern "C" #endif // __cplusplus \ No newline at end of file +#include #include #include #include typedef struct Dummy { int32_t x; float y; } Dummy; #ifdef __cplusplus extern "C" { #endif // __cplusplus void root(struct Dummy d); #ifdef __cplusplus } // extern "C" #endif // __cplusplus \ No newline at end of file diff --git a/tests/expectations/linestyle_cr_tag.compat.c b/tests/expectations/linestyle_cr_tag.compat.c index 01708bda4..2b1f382f8 100644 --- a/tests/expectations/linestyle_cr_tag.compat.c +++ b/tests/expectations/linestyle_cr_tag.compat.c @@ -1 +1 @@ -#include #include #include #include struct Dummy { int32_t x; float y; }; #ifdef __cplusplus extern "C" { #endif // __cplusplus void root(struct Dummy d); #ifdef __cplusplus } // extern "C" #endif // __cplusplus \ No newline at end of file +#include #include #include #include struct Dummy { int32_t x; float y; }; #ifdef __cplusplus extern "C" { #endif // __cplusplus void root(struct Dummy d); #ifdef __cplusplus } // extern "C" #endif // __cplusplus \ No newline at end of file diff --git a/tests/expectations/linestyle_crlf.compat.c b/tests/expectations/linestyle_crlf.compat.c index e105589cb..72f9a6eda 100644 --- a/tests/expectations/linestyle_crlf.compat.c +++ b/tests/expectations/linestyle_crlf.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(Dummy d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/linestyle_crlf.cpp b/tests/expectations/linestyle_crlf.cpp index 648188ca7..ff773f172 100644 --- a/tests/expectations/linestyle_crlf.cpp +++ b/tests/expectations/linestyle_crlf.cpp @@ -13,4 +13,4 @@ extern "C" { void root(Dummy d); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/linestyle_crlf_both.compat.c b/tests/expectations/linestyle_crlf_both.compat.c index fa16a155c..94f194d84 100644 --- a/tests/expectations/linestyle_crlf_both.compat.c +++ b/tests/expectations/linestyle_crlf_both.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(struct Dummy d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/linestyle_crlf_tag.compat.c b/tests/expectations/linestyle_crlf_tag.compat.c index 8be60015d..045c1567c 100644 --- a/tests/expectations/linestyle_crlf_tag.compat.c +++ b/tests/expectations/linestyle_crlf_tag.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(struct Dummy d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/linestyle_lf.compat.c b/tests/expectations/linestyle_lf.compat.c index 41aeec926..321db34f8 100644 --- a/tests/expectations/linestyle_lf.compat.c +++ b/tests/expectations/linestyle_lf.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(Dummy d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/linestyle_lf.cpp b/tests/expectations/linestyle_lf.cpp index d02b6074e..bd70e20a3 100644 --- a/tests/expectations/linestyle_lf.cpp +++ b/tests/expectations/linestyle_lf.cpp @@ -13,4 +13,4 @@ extern "C" { void root(Dummy d); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/linestyle_lf_both.compat.c b/tests/expectations/linestyle_lf_both.compat.c index 715acd1cb..75a4f5987 100644 --- a/tests/expectations/linestyle_lf_both.compat.c +++ b/tests/expectations/linestyle_lf_both.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(struct Dummy d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/linestyle_lf_tag.compat.c b/tests/expectations/linestyle_lf_tag.compat.c index 8d53f1c52..54fb0b93f 100644 --- a/tests/expectations/linestyle_lf_tag.compat.c +++ b/tests/expectations/linestyle_lf_tag.compat.c @@ -15,5 +15,5 @@ extern "C" { void root(struct Dummy d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mangle.compat.c b/tests/expectations/mangle.compat.c index 2bfe97a8b..83f816e77 100644 --- a/tests/expectations/mangle.compat.c +++ b/tests/expectations/mangle.compat.c @@ -21,5 +21,5 @@ extern "C" { void root(Boo x, Bar y); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mangle.cpp b/tests/expectations/mangle.cpp index 95224c9bd..30b959c5a 100644 --- a/tests/expectations/mangle.cpp +++ b/tests/expectations/mangle.cpp @@ -20,4 +20,4 @@ extern "C" { void root(Boo x, Bar y); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/mangle_both.compat.c b/tests/expectations/mangle_both.compat.c index ceefcc8f0..db849dc8d 100644 --- a/tests/expectations/mangle_both.compat.c +++ b/tests/expectations/mangle_both.compat.c @@ -21,5 +21,5 @@ extern "C" { void root(Boo x, enum Bar y); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mangle_tag.compat.c b/tests/expectations/mangle_tag.compat.c index 7d7e99269..a7b923148 100644 --- a/tests/expectations/mangle_tag.compat.c +++ b/tests/expectations/mangle_tag.compat.c @@ -21,5 +21,5 @@ extern "C" { void root(Boo x, enum Bar y); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/manuallydrop.compat.c b/tests/expectations/manuallydrop.compat.c index 0615661b1..b8bdf43ed 100644 --- a/tests/expectations/manuallydrop.compat.c +++ b/tests/expectations/manuallydrop.compat.c @@ -39,5 +39,5 @@ void root(const Foo *a, const MyStruct *with_manual_drop); void take(Point with_manual_drop); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/manuallydrop.cpp b/tests/expectations/manuallydrop.cpp index 3f461964d..df517dcba 100644 --- a/tests/expectations/manuallydrop.cpp +++ b/tests/expectations/manuallydrop.cpp @@ -38,4 +38,4 @@ void root(const Foo *a, const MyStruct *with_manual_drop); void take(ManuallyDrop with_manual_drop); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/manuallydrop_both.compat.c b/tests/expectations/manuallydrop_both.compat.c index 9b9c26b61..1975e2684 100644 --- a/tests/expectations/manuallydrop_both.compat.c +++ b/tests/expectations/manuallydrop_both.compat.c @@ -39,5 +39,5 @@ void root(const Foo *a, const struct MyStruct *with_manual_drop); void take(struct Point with_manual_drop); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/manuallydrop_tag.compat.c b/tests/expectations/manuallydrop_tag.compat.c index b66146f6f..08d952c8b 100644 --- a/tests/expectations/manuallydrop_tag.compat.c +++ b/tests/expectations/manuallydrop_tag.compat.c @@ -39,5 +39,5 @@ void root(const Foo *a, const struct MyStruct *with_manual_drop); void take(struct Point with_manual_drop); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/maybeuninit.compat.c b/tests/expectations/maybeuninit.compat.c index c218fc5a3..a97929997 100644 --- a/tests/expectations/maybeuninit.compat.c +++ b/tests/expectations/maybeuninit.compat.c @@ -32,5 +32,5 @@ extern "C" { void root(const Foo *a, const MyStruct *with_maybe_uninit); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/maybeuninit.cpp b/tests/expectations/maybeuninit.cpp index 83d85154d..638cdfd16 100644 --- a/tests/expectations/maybeuninit.cpp +++ b/tests/expectations/maybeuninit.cpp @@ -31,4 +31,4 @@ extern "C" { void root(const Foo *a, const MyStruct *with_maybe_uninit); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/maybeuninit_both.compat.c b/tests/expectations/maybeuninit_both.compat.c index 31d3b814c..046822d6e 100644 --- a/tests/expectations/maybeuninit_both.compat.c +++ b/tests/expectations/maybeuninit_both.compat.c @@ -32,5 +32,5 @@ extern "C" { void root(const Foo *a, const struct MyStruct *with_maybe_uninit); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/maybeuninit_tag.compat.c b/tests/expectations/maybeuninit_tag.compat.c index e788a4b46..8ec05f152 100644 --- a/tests/expectations/maybeuninit_tag.compat.c +++ b/tests/expectations/maybeuninit_tag.compat.c @@ -32,5 +32,5 @@ extern "C" { void root(const Foo *a, const struct MyStruct *with_maybe_uninit); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_2015.compat.c b/tests/expectations/mod_2015.compat.c index 4f4999249..e8dd0c323 100644 --- a/tests/expectations/mod_2015.compat.c +++ b/tests/expectations/mod_2015.compat.c @@ -18,5 +18,5 @@ void export_me(ExportMe *val); void from_really_nested_mod(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_2015.cpp b/tests/expectations/mod_2015.cpp index b3caaede3..037aaa5f4 100644 --- a/tests/expectations/mod_2015.cpp +++ b/tests/expectations/mod_2015.cpp @@ -16,4 +16,4 @@ void export_me(ExportMe *val); void from_really_nested_mod(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/mod_2015_both.compat.c b/tests/expectations/mod_2015_both.compat.c index 264f02007..ffbb82968 100644 --- a/tests/expectations/mod_2015_both.compat.c +++ b/tests/expectations/mod_2015_both.compat.c @@ -18,5 +18,5 @@ void export_me(struct ExportMe *val); void from_really_nested_mod(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_2015_tag.compat.c b/tests/expectations/mod_2015_tag.compat.c index 606808c6a..4d459d6c8 100644 --- a/tests/expectations/mod_2015_tag.compat.c +++ b/tests/expectations/mod_2015_tag.compat.c @@ -18,5 +18,5 @@ void export_me(struct ExportMe *val); void from_really_nested_mod(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_2018.compat.c b/tests/expectations/mod_2018.compat.c index 2af05c2fc..45c253542 100644 --- a/tests/expectations/mod_2018.compat.c +++ b/tests/expectations/mod_2018.compat.c @@ -24,5 +24,5 @@ void export_me_2(ExportMe2*); void from_really_nested_mod(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_2018.cpp b/tests/expectations/mod_2018.cpp index cd3ca85d5..13cd90fcc 100644 --- a/tests/expectations/mod_2018.cpp +++ b/tests/expectations/mod_2018.cpp @@ -22,4 +22,4 @@ void export_me_2(ExportMe2*); void from_really_nested_mod(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/mod_2018_both.compat.c b/tests/expectations/mod_2018_both.compat.c index b87a85e3d..620b4c3b3 100644 --- a/tests/expectations/mod_2018_both.compat.c +++ b/tests/expectations/mod_2018_both.compat.c @@ -24,5 +24,5 @@ void export_me_2(struct ExportMe2*); void from_really_nested_mod(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_2018_tag.compat.c b/tests/expectations/mod_2018_tag.compat.c index 051cb6722..6e167de24 100644 --- a/tests/expectations/mod_2018_tag.compat.c +++ b/tests/expectations/mod_2018_tag.compat.c @@ -24,5 +24,5 @@ void export_me_2(struct ExportMe2*); void from_really_nested_mod(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_attr.compat.c b/tests/expectations/mod_attr.compat.c index 009850392..bc9fd9a3b 100644 --- a/tests/expectations/mod_attr.compat.c +++ b/tests/expectations/mod_attr.compat.c @@ -42,5 +42,5 @@ void bar(const Bar *bar); #endif #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_attr.cpp b/tests/expectations/mod_attr.cpp index 10d0fe86c..a114c9547 100644 --- a/tests/expectations/mod_attr.cpp +++ b/tests/expectations/mod_attr.cpp @@ -40,4 +40,4 @@ void foo(const Foo *foo); void bar(const Bar *bar); #endif -} // extern "C" +} // extern "C" diff --git a/tests/expectations/mod_attr_both.compat.c b/tests/expectations/mod_attr_both.compat.c index 78ca229cb..cc3a389c2 100644 --- a/tests/expectations/mod_attr_both.compat.c +++ b/tests/expectations/mod_attr_both.compat.c @@ -42,5 +42,5 @@ void bar(const struct Bar *bar); #endif #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_attr_tag.compat.c b/tests/expectations/mod_attr_tag.compat.c index aba6a6aac..6226db942 100644 --- a/tests/expectations/mod_attr_tag.compat.c +++ b/tests/expectations/mod_attr_tag.compat.c @@ -42,5 +42,5 @@ void bar(const struct Bar *bar); #endif #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_path.compat.c b/tests/expectations/mod_path.compat.c index 1527af6c6..d534a1eb7 100644 --- a/tests/expectations/mod_path.compat.c +++ b/tests/expectations/mod_path.compat.c @@ -16,5 +16,5 @@ extern "C" { void export_me(ExportMe *val); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_path.cpp b/tests/expectations/mod_path.cpp index 0cda2e696..fdc338b4a 100644 --- a/tests/expectations/mod_path.cpp +++ b/tests/expectations/mod_path.cpp @@ -14,4 +14,4 @@ extern "C" { void export_me(ExportMe *val); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/mod_path_both.compat.c b/tests/expectations/mod_path_both.compat.c index 3d090e530..e4b41695d 100644 --- a/tests/expectations/mod_path_both.compat.c +++ b/tests/expectations/mod_path_both.compat.c @@ -16,5 +16,5 @@ extern "C" { void export_me(struct ExportMe *val); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/mod_path_tag.compat.c b/tests/expectations/mod_path_tag.compat.c index 097697ef7..ce06f4a13 100644 --- a/tests/expectations/mod_path_tag.compat.c +++ b/tests/expectations/mod_path_tag.compat.c @@ -16,5 +16,5 @@ extern "C" { void export_me(struct ExportMe *val); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_1.compat.c b/tests/expectations/monomorph_1.compat.c index d94ddec03..f34887569 100644 --- a/tests/expectations/monomorph_1.compat.c +++ b/tests/expectations/monomorph_1.compat.c @@ -47,5 +47,5 @@ void root(Foo_i32 a, Indirection_f32 h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_1.cpp b/tests/expectations/monomorph_1.cpp index 35904f9ce..076bf25b6 100644 --- a/tests/expectations/monomorph_1.cpp +++ b/tests/expectations/monomorph_1.cpp @@ -32,4 +32,4 @@ void root(Foo a, Tuple, float> g, Indirection h); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/monomorph_1_both.compat.c b/tests/expectations/monomorph_1_both.compat.c index b7de1da0b..0acdeb802 100644 --- a/tests/expectations/monomorph_1_both.compat.c +++ b/tests/expectations/monomorph_1_both.compat.c @@ -47,5 +47,5 @@ void root(struct Foo_i32 a, Indirection_f32 h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_1_tag.compat.c b/tests/expectations/monomorph_1_tag.compat.c index 17b9a089d..491bb3d64 100644 --- a/tests/expectations/monomorph_1_tag.compat.c +++ b/tests/expectations/monomorph_1_tag.compat.c @@ -47,5 +47,5 @@ void root(struct Foo_i32 a, Indirection_f32 h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_2.compat.c b/tests/expectations/monomorph_2.compat.c index 30c66ab31..389dcd760 100644 --- a/tests/expectations/monomorph_2.compat.c +++ b/tests/expectations/monomorph_2.compat.c @@ -26,5 +26,5 @@ void foo(List_A a); void bar(List_B b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_2.cpp b/tests/expectations/monomorph_2.cpp index 41dde1b1e..198c1449e 100644 --- a/tests/expectations/monomorph_2.cpp +++ b/tests/expectations/monomorph_2.cpp @@ -20,4 +20,4 @@ void foo(List a); void bar(List b); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/monomorph_2_both.compat.c b/tests/expectations/monomorph_2_both.compat.c index 8f2b0be73..cb9fdd80b 100644 --- a/tests/expectations/monomorph_2_both.compat.c +++ b/tests/expectations/monomorph_2_both.compat.c @@ -26,5 +26,5 @@ void foo(struct List_A a); void bar(struct List_B b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_2_tag.compat.c b/tests/expectations/monomorph_2_tag.compat.c index 4d5fb0db8..762994ccc 100644 --- a/tests/expectations/monomorph_2_tag.compat.c +++ b/tests/expectations/monomorph_2_tag.compat.c @@ -26,5 +26,5 @@ void foo(struct List_A a); void bar(struct List_B b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_3.compat.c b/tests/expectations/monomorph_3.compat.c index b2fbd8dc4..ba3dc837f 100644 --- a/tests/expectations/monomorph_3.compat.c +++ b/tests/expectations/monomorph_3.compat.c @@ -47,5 +47,5 @@ void root(Foo_i32 a, Indirection_f32 h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_3.cpp b/tests/expectations/monomorph_3.cpp index d833b32ae..b6b297f8b 100644 --- a/tests/expectations/monomorph_3.cpp +++ b/tests/expectations/monomorph_3.cpp @@ -32,4 +32,4 @@ void root(Foo a, Tuple, float> g, Indirection h); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/monomorph_3_both.compat.c b/tests/expectations/monomorph_3_both.compat.c index 0ff0be201..3da15cbde 100644 --- a/tests/expectations/monomorph_3_both.compat.c +++ b/tests/expectations/monomorph_3_both.compat.c @@ -47,5 +47,5 @@ void root(union Foo_i32 a, Indirection_f32 h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/monomorph_3_tag.compat.c b/tests/expectations/monomorph_3_tag.compat.c index 7306b59ee..c1724c5a7 100644 --- a/tests/expectations/monomorph_3_tag.compat.c +++ b/tests/expectations/monomorph_3_tag.compat.c @@ -47,5 +47,5 @@ void root(union Foo_i32 a, Indirection_f32 h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/must_use.compat.c b/tests/expectations/must_use.compat.c index d233a022e..b6fd17247 100644 --- a/tests/expectations/must_use.compat.c +++ b/tests/expectations/must_use.compat.c @@ -40,5 +40,5 @@ extern "C" { MUST_USE_FUNC MaybeOwnedPtr_i32 maybe_consume(OwnedPtr_i32 input); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/must_use.cpp b/tests/expectations/must_use.cpp index f2162cf2b..45333eb4d 100644 --- a/tests/expectations/must_use.cpp +++ b/tests/expectations/must_use.cpp @@ -35,4 +35,4 @@ extern "C" { MUST_USE_FUNC MaybeOwnedPtr maybe_consume(OwnedPtr input); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/must_use_both.compat.c b/tests/expectations/must_use_both.compat.c index cf5fafbc4..f56e8f03b 100644 --- a/tests/expectations/must_use_both.compat.c +++ b/tests/expectations/must_use_both.compat.c @@ -40,5 +40,5 @@ extern "C" { MUST_USE_FUNC struct MaybeOwnedPtr_i32 maybe_consume(struct OwnedPtr_i32 input); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/must_use_tag.compat.c b/tests/expectations/must_use_tag.compat.c index 8bd71a0e0..7aa48cefc 100644 --- a/tests/expectations/must_use_tag.compat.c +++ b/tests/expectations/must_use_tag.compat.c @@ -40,5 +40,5 @@ extern "C" { MUST_USE_FUNC struct MaybeOwnedPtr_i32 maybe_consume(struct OwnedPtr_i32 input); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/namespace_constant.compat.c b/tests/expectations/namespace_constant.compat.c index 49e3f6575..cd0df69b1 100644 --- a/tests/expectations/namespace_constant.compat.c +++ b/tests/expectations/namespace_constant.compat.c @@ -5,7 +5,7 @@ #ifdef __cplusplus namespace constants { -#endif // __cplusplus +#endif // __cplusplus #define FOO 10 @@ -22,9 +22,9 @@ extern "C" { void root(Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #ifdef __cplusplus -} // namespace constants -#endif // __cplusplus +} // namespace constants +#endif // __cplusplus diff --git a/tests/expectations/namespace_constant.cpp b/tests/expectations/namespace_constant.cpp index 889472cb8..f62b20d7d 100644 --- a/tests/expectations/namespace_constant.cpp +++ b/tests/expectations/namespace_constant.cpp @@ -18,6 +18,6 @@ extern "C" { void root(Foo x); -} // extern "C" +} // extern "C" -} // namespace constants +} // namespace constants diff --git a/tests/expectations/namespace_constant_both.compat.c b/tests/expectations/namespace_constant_both.compat.c index ca8ddbca5..4d7cd8c4b 100644 --- a/tests/expectations/namespace_constant_both.compat.c +++ b/tests/expectations/namespace_constant_both.compat.c @@ -5,7 +5,7 @@ #ifdef __cplusplus namespace constants { -#endif // __cplusplus +#endif // __cplusplus #define FOO 10 @@ -22,9 +22,9 @@ extern "C" { void root(struct Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #ifdef __cplusplus -} // namespace constants -#endif // __cplusplus +} // namespace constants +#endif // __cplusplus diff --git a/tests/expectations/namespace_constant_tag.compat.c b/tests/expectations/namespace_constant_tag.compat.c index cb599dc77..ee17dc667 100644 --- a/tests/expectations/namespace_constant_tag.compat.c +++ b/tests/expectations/namespace_constant_tag.compat.c @@ -5,7 +5,7 @@ #ifdef __cplusplus namespace constants { -#endif // __cplusplus +#endif // __cplusplus #define FOO 10 @@ -22,9 +22,9 @@ extern "C" { void root(struct Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #ifdef __cplusplus -} // namespace constants -#endif // __cplusplus +} // namespace constants +#endif // __cplusplus diff --git a/tests/expectations/namespaces_constant.compat.c b/tests/expectations/namespaces_constant.compat.c index 5c4a35f6a..58efa97aa 100644 --- a/tests/expectations/namespaces_constant.compat.c +++ b/tests/expectations/namespaces_constant.compat.c @@ -6,7 +6,7 @@ #ifdef __cplusplus namespace constants { namespace test { -#endif // __cplusplus +#endif // __cplusplus #define FOO 10 @@ -23,10 +23,10 @@ extern "C" { void root(Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #ifdef __cplusplus -} // namespace test -} // namespace constants -#endif // __cplusplus +} // namespace test +} // namespace constants +#endif // __cplusplus diff --git a/tests/expectations/namespaces_constant.cpp b/tests/expectations/namespaces_constant.cpp index 2da55d74c..6140c2abe 100644 --- a/tests/expectations/namespaces_constant.cpp +++ b/tests/expectations/namespaces_constant.cpp @@ -19,7 +19,7 @@ extern "C" { void root(Foo x); -} // extern "C" +} // extern "C" -} // namespace test -} // namespace constants +} // namespace test +} // namespace constants diff --git a/tests/expectations/namespaces_constant_both.compat.c b/tests/expectations/namespaces_constant_both.compat.c index c253d741b..9e49dbdf5 100644 --- a/tests/expectations/namespaces_constant_both.compat.c +++ b/tests/expectations/namespaces_constant_both.compat.c @@ -6,7 +6,7 @@ #ifdef __cplusplus namespace constants { namespace test { -#endif // __cplusplus +#endif // __cplusplus #define FOO 10 @@ -23,10 +23,10 @@ extern "C" { void root(struct Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #ifdef __cplusplus -} // namespace test -} // namespace constants -#endif // __cplusplus +} // namespace test +} // namespace constants +#endif // __cplusplus diff --git a/tests/expectations/namespaces_constant_tag.compat.c b/tests/expectations/namespaces_constant_tag.compat.c index fd57fccdf..9a93f9679 100644 --- a/tests/expectations/namespaces_constant_tag.compat.c +++ b/tests/expectations/namespaces_constant_tag.compat.c @@ -6,7 +6,7 @@ #ifdef __cplusplus namespace constants { namespace test { -#endif // __cplusplus +#endif // __cplusplus #define FOO 10 @@ -23,10 +23,10 @@ extern "C" { void root(struct Foo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #ifdef __cplusplus -} // namespace test -} // namespace constants -#endif // __cplusplus +} // namespace test +} // namespace constants +#endif // __cplusplus diff --git a/tests/expectations/no_includes.compat.c b/tests/expectations/no_includes.compat.c index cbb5e7641..537f64471 100644 --- a/tests/expectations/no_includes.compat.c +++ b/tests/expectations/no_includes.compat.c @@ -5,5 +5,5 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/no_includes.cpp b/tests/expectations/no_includes.cpp index ba8247bf5..3c6fe1ec2 100644 --- a/tests/expectations/no_includes.cpp +++ b/tests/expectations/no_includes.cpp @@ -3,4 +3,4 @@ extern "C" { void root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/non_pub_extern.compat.c b/tests/expectations/non_pub_extern.compat.c index 549345195..266b6817b 100644 --- a/tests/expectations/non_pub_extern.compat.c +++ b/tests/expectations/non_pub_extern.compat.c @@ -16,5 +16,5 @@ void first(void); void renamed(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/non_pub_extern.cpp b/tests/expectations/non_pub_extern.cpp index c931fbc39..945433d05 100644 --- a/tests/expectations/non_pub_extern.cpp +++ b/tests/expectations/non_pub_extern.cpp @@ -14,4 +14,4 @@ void first(); void renamed(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/nonnull.compat.c b/tests/expectations/nonnull.compat.c index a2605e096..d24c16dae 100644 --- a/tests/expectations/nonnull.compat.c +++ b/tests/expectations/nonnull.compat.c @@ -24,5 +24,5 @@ extern "C" { void root(int32_t *arg, Foo_u64 *foo, Opaque **d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/nonnull.cpp b/tests/expectations/nonnull.cpp index 323949a00..81cf9e5c8 100644 --- a/tests/expectations/nonnull.cpp +++ b/tests/expectations/nonnull.cpp @@ -23,4 +23,4 @@ extern "C" { void root(int32_t *arg, Foo *foo, Opaque **d); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/nonnull_attribute.compat.c b/tests/expectations/nonnull_attribute.compat.c index 726b179b0..294f5d4e0 100644 --- a/tests/expectations/nonnull_attribute.compat.c +++ b/tests/expectations/nonnull_attribute.compat.c @@ -56,5 +56,5 @@ void nullable_const_ptr(const Pointers_u64 *arg); void nullable_mut_ptr(Pointers_u64 *arg); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/nonnull_attribute.cpp b/tests/expectations/nonnull_attribute.cpp index b57592a85..97fee6747 100644 --- a/tests/expectations/nonnull_attribute.cpp +++ b/tests/expectations/nonnull_attribute.cpp @@ -55,4 +55,4 @@ void nullable_const_ptr(const Pointers *arg); void nullable_mut_ptr(Pointers *arg); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/nonnull_attribute_both.compat.c b/tests/expectations/nonnull_attribute_both.compat.c index 4ba725440..bc81c76fb 100644 --- a/tests/expectations/nonnull_attribute_both.compat.c +++ b/tests/expectations/nonnull_attribute_both.compat.c @@ -56,5 +56,5 @@ void nullable_const_ptr(const struct Pointers_u64 *arg); void nullable_mut_ptr(struct Pointers_u64 *arg); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/nonnull_attribute_tag.compat.c b/tests/expectations/nonnull_attribute_tag.compat.c index 757f5722b..61c119d2d 100644 --- a/tests/expectations/nonnull_attribute_tag.compat.c +++ b/tests/expectations/nonnull_attribute_tag.compat.c @@ -56,5 +56,5 @@ void nullable_const_ptr(const struct Pointers_u64 *arg); void nullable_mut_ptr(struct Pointers_u64 *arg); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/nonnull_both.compat.c b/tests/expectations/nonnull_both.compat.c index 018743b68..f38bc4a32 100644 --- a/tests/expectations/nonnull_both.compat.c +++ b/tests/expectations/nonnull_both.compat.c @@ -24,5 +24,5 @@ extern "C" { void root(int32_t *arg, struct Foo_u64 *foo, struct Opaque **d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/nonnull_tag.compat.c b/tests/expectations/nonnull_tag.compat.c index 2a074c831..e7b8dc65c 100644 --- a/tests/expectations/nonnull_tag.compat.c +++ b/tests/expectations/nonnull_tag.compat.c @@ -24,5 +24,5 @@ extern "C" { void root(int32_t *arg, struct Foo_u64 *foo, struct Opaque **d); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/nonzero.compat.c b/tests/expectations/nonzero.compat.c index 052e573f0..253fc5804 100644 --- a/tests/expectations/nonzero.compat.c +++ b/tests/expectations/nonzero.compat.c @@ -48,5 +48,5 @@ void root(NonZeroTest test, const Option_i64 *j); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/nonzero.cpp b/tests/expectations/nonzero.cpp index 7bae672f6..a672a43bd 100644 --- a/tests/expectations/nonzero.cpp +++ b/tests/expectations/nonzero.cpp @@ -47,4 +47,4 @@ void root(NonZeroTest test, int64_t i, const Option *j); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/nonzero_both.compat.c b/tests/expectations/nonzero_both.compat.c index c0dba9ecd..2e99d21a3 100644 --- a/tests/expectations/nonzero_both.compat.c +++ b/tests/expectations/nonzero_both.compat.c @@ -48,5 +48,5 @@ void root(struct NonZeroTest test, const struct Option_i64 *j); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/nonzero_tag.compat.c b/tests/expectations/nonzero_tag.compat.c index bf9a12184..6372e4782 100644 --- a/tests/expectations/nonzero_tag.compat.c +++ b/tests/expectations/nonzero_tag.compat.c @@ -48,5 +48,5 @@ void root(struct NonZeroTest test, const struct Option_i64 *j); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/opaque.compat.c b/tests/expectations/opaque.compat.c index 0efe46761..61a93ed27 100644 --- a/tests/expectations/opaque.compat.c +++ b/tests/expectations/opaque.compat.c @@ -40,5 +40,5 @@ extern "C" { void root(const Foo *a, const Bar *b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/opaque.cpp b/tests/expectations/opaque.cpp index ea144219e..0e22c0eb3 100644 --- a/tests/expectations/opaque.cpp +++ b/tests/expectations/opaque.cpp @@ -39,4 +39,4 @@ extern "C" { void root(const Foo *a, const Bar *b); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/opaque_both.compat.c b/tests/expectations/opaque_both.compat.c index 5ca0a7995..fa057a16a 100644 --- a/tests/expectations/opaque_both.compat.c +++ b/tests/expectations/opaque_both.compat.c @@ -40,5 +40,5 @@ extern "C" { void root(const Foo *a, const Bar *b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/opaque_tag.compat.c b/tests/expectations/opaque_tag.compat.c index 4fef39939..71ab06c37 100644 --- a/tests/expectations/opaque_tag.compat.c +++ b/tests/expectations/opaque_tag.compat.c @@ -40,5 +40,5 @@ extern "C" { void root(const Foo *a, const Bar *b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/package_version.compat.c b/tests/expectations/package_version.compat.c index 4bb26e1f0..47ff31d81 100644 --- a/tests/expectations/package_version.compat.c +++ b/tests/expectations/package_version.compat.c @@ -16,5 +16,5 @@ extern "C" { void doit(const Foo*); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/package_version.cpp b/tests/expectations/package_version.cpp index c3091eb18..f8919d06b 100644 --- a/tests/expectations/package_version.cpp +++ b/tests/expectations/package_version.cpp @@ -14,4 +14,4 @@ extern "C" { void doit(const Foo*); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/package_version_both.compat.c b/tests/expectations/package_version_both.compat.c index 763c3e4d4..c1594453d 100644 --- a/tests/expectations/package_version_both.compat.c +++ b/tests/expectations/package_version_both.compat.c @@ -16,5 +16,5 @@ extern "C" { void doit(const struct Foo*); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/package_version_tag.compat.c b/tests/expectations/package_version_tag.compat.c index 0d8fb3da4..18909d835 100644 --- a/tests/expectations/package_version_tag.compat.c +++ b/tests/expectations/package_version_tag.compat.c @@ -16,5 +16,5 @@ extern "C" { void doit(const struct Foo*); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/pin.compat.c b/tests/expectations/pin.compat.c index 2cccd3e34..117641d30 100644 --- a/tests/expectations/pin.compat.c +++ b/tests/expectations/pin.compat.c @@ -31,5 +31,5 @@ extern "C" { void root(int32_t *s, PinTest p); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/pin.cpp b/tests/expectations/pin.cpp index 8a5bc2c4b..f8a16c7be 100644 --- a/tests/expectations/pin.cpp +++ b/tests/expectations/pin.cpp @@ -29,4 +29,4 @@ extern "C" { void root(Pin s, PinTest p); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/pin_both.compat.c b/tests/expectations/pin_both.compat.c index 126cb6663..9424fbf72 100644 --- a/tests/expectations/pin_both.compat.c +++ b/tests/expectations/pin_both.compat.c @@ -31,5 +31,5 @@ extern "C" { void root(int32_t *s, struct PinTest p); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/pin_tag.compat.c b/tests/expectations/pin_tag.compat.c index ecaae829d..2bb04fd83 100644 --- a/tests/expectations/pin_tag.compat.c +++ b/tests/expectations/pin_tag.compat.c @@ -31,5 +31,5 @@ extern "C" { void root(int32_t *s, struct PinTest p); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/pragma_once.compat.c b/tests/expectations/pragma_once.compat.c index 2a6e9b19f..56345c1b5 100644 --- a/tests/expectations/pragma_once.compat.c +++ b/tests/expectations/pragma_once.compat.c @@ -12,5 +12,5 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/pragma_once.cpp b/tests/expectations/pragma_once.cpp index 4d29d966a..7144b270e 100644 --- a/tests/expectations/pragma_once.cpp +++ b/tests/expectations/pragma_once.cpp @@ -10,4 +10,4 @@ extern "C" { void root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/prefix.compat.c b/tests/expectations/prefix.compat.c index b307000e3..a37a15a0a 100644 --- a/tests/expectations/prefix.compat.c +++ b/tests/expectations/prefix.compat.c @@ -41,5 +41,5 @@ extern "C" { void root(PREFIX_NamedLenArray x, PREFIX_ValuedLenArray y, PREFIX_AbsoluteFontWeight z); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/prefix.cpp b/tests/expectations/prefix.cpp index 7f2c8ba4b..e11ffc73c 100644 --- a/tests/expectations/prefix.cpp +++ b/tests/expectations/prefix.cpp @@ -36,4 +36,4 @@ extern "C" { void root(PREFIX_NamedLenArray x, PREFIX_ValuedLenArray y, PREFIX_AbsoluteFontWeight z); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/prefix_both.compat.c b/tests/expectations/prefix_both.compat.c index 9f227b975..1b6475c35 100644 --- a/tests/expectations/prefix_both.compat.c +++ b/tests/expectations/prefix_both.compat.c @@ -41,5 +41,5 @@ extern "C" { void root(PREFIX_NamedLenArray x, PREFIX_ValuedLenArray y, union PREFIX_AbsoluteFontWeight z); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/prefix_tag.compat.c b/tests/expectations/prefix_tag.compat.c index b5da34097..e300cdad1 100644 --- a/tests/expectations/prefix_tag.compat.c +++ b/tests/expectations/prefix_tag.compat.c @@ -41,5 +41,5 @@ extern "C" { void root(PREFIX_NamedLenArray x, PREFIX_ValuedLenArray y, union PREFIX_AbsoluteFontWeight z); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/prefixed_struct_literal.compat.c b/tests/expectations/prefixed_struct_literal.compat.c index 46ee66a99..b45631fc0 100644 --- a/tests/expectations/prefixed_struct_literal.compat.c +++ b/tests/expectations/prefixed_struct_literal.compat.c @@ -18,5 +18,5 @@ extern "C" { void root(PREFIXFoo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/prefixed_struct_literal.cpp b/tests/expectations/prefixed_struct_literal.cpp index 218d1c838..c8f5dbab4 100644 --- a/tests/expectations/prefixed_struct_literal.cpp +++ b/tests/expectations/prefixed_struct_literal.cpp @@ -16,4 +16,4 @@ extern "C" { void root(PREFIXFoo x); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/prefixed_struct_literal_both.compat.c b/tests/expectations/prefixed_struct_literal_both.compat.c index 71168b536..71cfa35cf 100644 --- a/tests/expectations/prefixed_struct_literal_both.compat.c +++ b/tests/expectations/prefixed_struct_literal_both.compat.c @@ -18,5 +18,5 @@ extern "C" { void root(struct PREFIXFoo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/prefixed_struct_literal_deep.compat.c b/tests/expectations/prefixed_struct_literal_deep.compat.c index 7d3e09e5a..e851f9dba 100644 --- a/tests/expectations/prefixed_struct_literal_deep.compat.c +++ b/tests/expectations/prefixed_struct_literal_deep.compat.c @@ -22,5 +22,5 @@ extern "C" { void root(PREFIXFoo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/prefixed_struct_literal_deep.cpp b/tests/expectations/prefixed_struct_literal_deep.cpp index 4dbfb7bab..bd883f640 100644 --- a/tests/expectations/prefixed_struct_literal_deep.cpp +++ b/tests/expectations/prefixed_struct_literal_deep.cpp @@ -20,4 +20,4 @@ extern "C" { void root(PREFIXFoo x); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/prefixed_struct_literal_deep_both.compat.c b/tests/expectations/prefixed_struct_literal_deep_both.compat.c index f5c0156ec..273d43343 100644 --- a/tests/expectations/prefixed_struct_literal_deep_both.compat.c +++ b/tests/expectations/prefixed_struct_literal_deep_both.compat.c @@ -22,5 +22,5 @@ extern "C" { void root(struct PREFIXFoo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/prefixed_struct_literal_deep_tag.compat.c b/tests/expectations/prefixed_struct_literal_deep_tag.compat.c index 4fb7c69b2..31f038b09 100644 --- a/tests/expectations/prefixed_struct_literal_deep_tag.compat.c +++ b/tests/expectations/prefixed_struct_literal_deep_tag.compat.c @@ -22,5 +22,5 @@ extern "C" { void root(struct PREFIXFoo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/prefixed_struct_literal_tag.compat.c b/tests/expectations/prefixed_struct_literal_tag.compat.c index 2bd6fa823..98b5c9d5b 100644 --- a/tests/expectations/prefixed_struct_literal_tag.compat.c +++ b/tests/expectations/prefixed_struct_literal_tag.compat.c @@ -18,5 +18,5 @@ extern "C" { void root(struct PREFIXFoo x); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/ptrs_as_arrays.compat.c b/tests/expectations/ptrs_as_arrays.compat.c index ec6b9054f..23dca9476 100644 --- a/tests/expectations/ptrs_as_arrays.compat.c +++ b/tests/expectations/ptrs_as_arrays.compat.c @@ -18,5 +18,5 @@ void ptr_as_array_wrong_syntax(uint32_t *arg, const uint32_t *v, const uint32_t* void ptr_as_array_unnamed(uint32_t*, const uint32_t*); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/ptrs_as_arrays.cpp b/tests/expectations/ptrs_as_arrays.cpp index a4731a027..41122d89d 100644 --- a/tests/expectations/ptrs_as_arrays.cpp +++ b/tests/expectations/ptrs_as_arrays.cpp @@ -16,4 +16,4 @@ void ptr_as_array_wrong_syntax(uint32_t *arg, const uint32_t *v, const uint32_t* void ptr_as_array_unnamed(uint32_t*, const uint32_t*); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/raw_ident.compat.c b/tests/expectations/raw_ident.compat.c index 6ae0663df..a8d149071 100644 --- a/tests/expectations/raw_ident.compat.c +++ b/tests/expectations/raw_ident.compat.c @@ -28,5 +28,5 @@ extern const Enum STATIC; void fn(Struct arg); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/raw_ident.cpp b/tests/expectations/raw_ident.cpp index 60b8e0288..46d14d57b 100644 --- a/tests/expectations/raw_ident.cpp +++ b/tests/expectations/raw_ident.cpp @@ -19,4 +19,4 @@ extern const Enum STATIC; void fn(Struct arg); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/raw_ident_both.compat.c b/tests/expectations/raw_ident_both.compat.c index fcc7cddc1..07f66e894 100644 --- a/tests/expectations/raw_ident_both.compat.c +++ b/tests/expectations/raw_ident_both.compat.c @@ -28,5 +28,5 @@ extern const Enum STATIC; void fn(struct Struct arg); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/raw_ident_tag.compat.c b/tests/expectations/raw_ident_tag.compat.c index ad38cc731..afa24586d 100644 --- a/tests/expectations/raw_ident_tag.compat.c +++ b/tests/expectations/raw_ident_tag.compat.c @@ -28,5 +28,5 @@ extern const Enum STATIC; void fn(struct Struct arg); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/raw_lines.c b/tests/expectations/raw_lines.c index f136292c0..6f628a55c 100644 --- a/tests/expectations/raw_lines.c +++ b/tests/expectations/raw_lines.c @@ -9,4 +9,4 @@ void root(void); -#endif /* INCLUDE_GUARD_H */ +#endif /* INCLUDE_GUARD_H */ diff --git a/tests/expectations/raw_lines.compat.c b/tests/expectations/raw_lines.compat.c index 05f449381..2fc3f9ccb 100644 --- a/tests/expectations/raw_lines.compat.c +++ b/tests/expectations/raw_lines.compat.c @@ -14,7 +14,7 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus -#endif /* INCLUDE_GUARD_H */ +#endif /* INCLUDE_GUARD_H */ diff --git a/tests/expectations/raw_lines.cpp b/tests/expectations/raw_lines.cpp index 3619eca33..cbe9e2127 100644 --- a/tests/expectations/raw_lines.cpp +++ b/tests/expectations/raw_lines.cpp @@ -12,6 +12,6 @@ extern "C" { void root(); -} // extern "C" +} // extern "C" -#endif // INCLUDE_GUARD_H +#endif // INCLUDE_GUARD_H diff --git a/tests/expectations/rename.compat.c b/tests/expectations/rename.compat.c index 139486062..75f6644e0 100644 --- a/tests/expectations/rename.compat.c +++ b/tests/expectations/rename.compat.c @@ -44,5 +44,5 @@ extern const int32_t G; void root(const C_A *a, C_AwesomeB b, C_C c, C_D d, C_E e, C_F f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/rename.cpp b/tests/expectations/rename.cpp index cfa3285a7..e27a6360d 100644 --- a/tests/expectations/rename.cpp +++ b/tests/expectations/rename.cpp @@ -35,4 +35,4 @@ extern const int32_t G; void root(const C_A *a, C_AwesomeB b, C_C c, C_D d, C_E e, C_F f); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/rename_both.compat.c b/tests/expectations/rename_both.compat.c index bc4404791..9361e68b1 100644 --- a/tests/expectations/rename_both.compat.c +++ b/tests/expectations/rename_both.compat.c @@ -44,5 +44,5 @@ extern const int32_t G; void root(const struct C_A *a, struct C_AwesomeB b, struct C_C c, union C_D d, C_E e, C_F f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/rename_case.compat.c b/tests/expectations/rename_case.compat.c index 61e3310e8..1d2cb1c59 100644 --- a/tests/expectations/rename_case.compat.c +++ b/tests/expectations/rename_case.compat.c @@ -18,5 +18,5 @@ void test_screaming_snake_case(int32_t FOO_BAR); void test_gecko_case(int32_t aFooBar); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/rename_case.cpp b/tests/expectations/rename_case.cpp index 794fa0cfd..0d5a6d949 100644 --- a/tests/expectations/rename_case.cpp +++ b/tests/expectations/rename_case.cpp @@ -16,4 +16,4 @@ void test_screaming_snake_case(int32_t FOO_BAR); void test_gecko_case(int32_t aFooBar); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/rename_crate.compat.c b/tests/expectations/rename_crate.compat.c index 89ffcc48e..d832e1a74 100644 --- a/tests/expectations/rename_crate.compat.c +++ b/tests/expectations/rename_crate.compat.c @@ -45,5 +45,5 @@ void renamed_func(RenamedTy a); void no_extern_func(ContainsNoExternTy a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/rename_crate.cpp b/tests/expectations/rename_crate.cpp index 3f15d72e1..80633dbb2 100644 --- a/tests/expectations/rename_crate.cpp +++ b/tests/expectations/rename_crate.cpp @@ -43,4 +43,4 @@ void renamed_func(RenamedTy a); void no_extern_func(ContainsNoExternTy a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/rename_crate_both.compat.c b/tests/expectations/rename_crate_both.compat.c index 49e703c34..0f1635350 100644 --- a/tests/expectations/rename_crate_both.compat.c +++ b/tests/expectations/rename_crate_both.compat.c @@ -45,5 +45,5 @@ void renamed_func(struct RenamedTy a); void no_extern_func(struct ContainsNoExternTy a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/rename_crate_tag.compat.c b/tests/expectations/rename_crate_tag.compat.c index 71bf78eda..bcf649c84 100644 --- a/tests/expectations/rename_crate_tag.compat.c +++ b/tests/expectations/rename_crate_tag.compat.c @@ -45,5 +45,5 @@ void renamed_func(struct RenamedTy a); void no_extern_func(struct ContainsNoExternTy a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/rename_tag.compat.c b/tests/expectations/rename_tag.compat.c index d7cf1c88a..e952b49eb 100644 --- a/tests/expectations/rename_tag.compat.c +++ b/tests/expectations/rename_tag.compat.c @@ -44,5 +44,5 @@ extern const int32_t G; void root(const struct C_A *a, struct C_AwesomeB b, struct C_C c, union C_D d, C_E e, C_F f); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/renaming_overrides_prefixing.compat.c b/tests/expectations/renaming_overrides_prefixing.compat.c index 5d16b2d0f..be8ad667b 100644 --- a/tests/expectations/renaming_overrides_prefixing.compat.c +++ b/tests/expectations/renaming_overrides_prefixing.compat.c @@ -17,5 +17,5 @@ extern "C" { void root(const StyleA *a, B b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/renaming_overrides_prefixing.cpp b/tests/expectations/renaming_overrides_prefixing.cpp index 1a2a6d2fa..e31c3b8d6 100644 --- a/tests/expectations/renaming_overrides_prefixing.cpp +++ b/tests/expectations/renaming_overrides_prefixing.cpp @@ -15,4 +15,4 @@ extern "C" { void root(const StyleA *a, B b); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/renaming_overrides_prefixing_both.compat.c b/tests/expectations/renaming_overrides_prefixing_both.compat.c index 1fa7b8bf0..d7dd5c518 100644 --- a/tests/expectations/renaming_overrides_prefixing_both.compat.c +++ b/tests/expectations/renaming_overrides_prefixing_both.compat.c @@ -17,5 +17,5 @@ extern "C" { void root(const struct StyleA *a, struct B b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/renaming_overrides_prefixing_tag.compat.c b/tests/expectations/renaming_overrides_prefixing_tag.compat.c index 15d1cc89b..8f6e7dffa 100644 --- a/tests/expectations/renaming_overrides_prefixing_tag.compat.c +++ b/tests/expectations/renaming_overrides_prefixing_tag.compat.c @@ -17,5 +17,5 @@ extern "C" { void root(const struct StyleA *a, struct B b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/reserved.compat.c b/tests/expectations/reserved.compat.c index 8bbbdf3af..ecdade3c9 100644 --- a/tests/expectations/reserved.compat.c +++ b/tests/expectations/reserved.compat.c @@ -91,5 +91,5 @@ extern "C" { void root(A a, B b, C c, E e, F f, int32_t namespace_, float float_); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/reserved.cpp b/tests/expectations/reserved.cpp index c4bc9fbda..4883eb2a0 100644 --- a/tests/expectations/reserved.cpp +++ b/tests/expectations/reserved.cpp @@ -76,4 +76,4 @@ extern "C" { void root(A a, B b, C c, E e, F f, int32_t namespace_, float float_); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/reserved_both.compat.c b/tests/expectations/reserved_both.compat.c index 149b2a441..702a1b7e8 100644 --- a/tests/expectations/reserved_both.compat.c +++ b/tests/expectations/reserved_both.compat.c @@ -97,5 +97,5 @@ void root(struct A a, float float_); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/reserved_tag.compat.c b/tests/expectations/reserved_tag.compat.c index fc6064fab..0ce3ee237 100644 --- a/tests/expectations/reserved_tag.compat.c +++ b/tests/expectations/reserved_tag.compat.c @@ -97,5 +97,5 @@ void root(struct A a, float float_); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/sentinel.compat.c b/tests/expectations/sentinel.compat.c index e86d2d934..124b06e8c 100644 --- a/tests/expectations/sentinel.compat.c +++ b/tests/expectations/sentinel.compat.c @@ -77,5 +77,5 @@ extern "C" { void root(A a, B b, C c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/sentinel.cpp b/tests/expectations/sentinel.cpp index 98e353f2b..db0a5e613 100644 --- a/tests/expectations/sentinel.cpp +++ b/tests/expectations/sentinel.cpp @@ -50,4 +50,4 @@ extern "C" { void root(A a, B b, C c); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/sentinel_both.compat.c b/tests/expectations/sentinel_both.compat.c index f03f998b7..ac26146db 100644 --- a/tests/expectations/sentinel_both.compat.c +++ b/tests/expectations/sentinel_both.compat.c @@ -77,5 +77,5 @@ extern "C" { void root(A a, B b, union C c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/sentinel_tag.compat.c b/tests/expectations/sentinel_tag.compat.c index ae7f94c49..e4dac92b0 100644 --- a/tests/expectations/sentinel_tag.compat.c +++ b/tests/expectations/sentinel_tag.compat.c @@ -77,5 +77,5 @@ extern "C" { void root(A a, B b, union C c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/simplify_option_ptr.compat.c b/tests/expectations/simplify_option_ptr.compat.c index 827067cff..cd6596683 100644 --- a/tests/expectations/simplify_option_ptr.compat.c +++ b/tests/expectations/simplify_option_ptr.compat.c @@ -28,5 +28,5 @@ extern "C" { void root(const Opaque *a, Opaque *b, Foo c, Bar d, Option_____Opaque *e, void (*f)(const Opaque*)); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/simplify_option_ptr.cpp b/tests/expectations/simplify_option_ptr.cpp index f4b98d489..237321668 100644 --- a/tests/expectations/simplify_option_ptr.cpp +++ b/tests/expectations/simplify_option_ptr.cpp @@ -27,4 +27,4 @@ extern "C" { void root(const Opaque *a, Opaque *b, Foo c, Bar d, Option *e, void (*f)(const Opaque*)); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/simplify_option_ptr_both.compat.c b/tests/expectations/simplify_option_ptr_both.compat.c index 7c6292e0d..2f0fd0b2c 100644 --- a/tests/expectations/simplify_option_ptr_both.compat.c +++ b/tests/expectations/simplify_option_ptr_both.compat.c @@ -33,5 +33,5 @@ void root(const struct Opaque *a, void (*f)(const struct Opaque*)); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/simplify_option_ptr_tag.compat.c b/tests/expectations/simplify_option_ptr_tag.compat.c index 79d1ce619..10b9905a0 100644 --- a/tests/expectations/simplify_option_ptr_tag.compat.c +++ b/tests/expectations/simplify_option_ptr_tag.compat.c @@ -33,5 +33,5 @@ void root(const struct Opaque *a, void (*f)(const struct Opaque*)); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/size_types.compat.c b/tests/expectations/size_types.compat.c index 0a1218ba8..4ca5273c4 100644 --- a/tests/expectations/size_types.compat.c +++ b/tests/expectations/size_types.compat.c @@ -37,5 +37,5 @@ extern "C" { void root(Usize, Isize, UE, IE); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/size_types.cpp b/tests/expectations/size_types.cpp index d701a8ded..ce7b41cc5 100644 --- a/tests/expectations/size_types.cpp +++ b/tests/expectations/size_types.cpp @@ -21,4 +21,4 @@ extern "C" { void root(Usize, Isize, UE, IE); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/static.compat.c b/tests/expectations/static.compat.c index e25d2f0bd..59b485e9e 100644 --- a/tests/expectations/static.compat.c +++ b/tests/expectations/static.compat.c @@ -22,5 +22,5 @@ extern const Bar BAR; void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/static.cpp b/tests/expectations/static.cpp index 4695d3cf8..8788846e9 100644 --- a/tests/expectations/static.cpp +++ b/tests/expectations/static.cpp @@ -20,4 +20,4 @@ extern const Bar BAR; void root(); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/static_both.compat.c b/tests/expectations/static_both.compat.c index b06525e5f..6e1ad020d 100644 --- a/tests/expectations/static_both.compat.c +++ b/tests/expectations/static_both.compat.c @@ -22,5 +22,5 @@ extern const struct Bar BAR; void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/static_tag.compat.c b/tests/expectations/static_tag.compat.c index 4afafee5a..56bcde9a1 100644 --- a/tests/expectations/static_tag.compat.c +++ b/tests/expectations/static_tag.compat.c @@ -22,5 +22,5 @@ extern const struct Bar BAR; void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/std_lib.compat.c b/tests/expectations/std_lib.compat.c index b25a57e92..6ef97bbef 100644 --- a/tests/expectations/std_lib.compat.c +++ b/tests/expectations/std_lib.compat.c @@ -16,5 +16,5 @@ extern "C" { void root(const Vec_String *a, const Option_i32 *b, const Result_i32__String *c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/std_lib.cpp b/tests/expectations/std_lib.cpp index f0cd33810..2af7c14ce 100644 --- a/tests/expectations/std_lib.cpp +++ b/tests/expectations/std_lib.cpp @@ -19,4 +19,4 @@ extern "C" { void root(const Vec *a, const Option *b, const Result *c); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/std_lib_both.compat.c b/tests/expectations/std_lib_both.compat.c index ee4f66978..53f9eadbb 100644 --- a/tests/expectations/std_lib_both.compat.c +++ b/tests/expectations/std_lib_both.compat.c @@ -18,5 +18,5 @@ void root(const struct Vec_String *a, const struct Result_i32__String *c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/std_lib_tag.compat.c b/tests/expectations/std_lib_tag.compat.c index 291ee6db8..74a8c14fc 100644 --- a/tests/expectations/std_lib_tag.compat.c +++ b/tests/expectations/std_lib_tag.compat.c @@ -18,5 +18,5 @@ void root(const struct Vec_String *a, const struct Result_i32__String *c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct.compat.c b/tests/expectations/struct.compat.c index 701f49b0e..fd82fcd1e 100644 --- a/tests/expectations/struct.compat.c +++ b/tests/expectations/struct.compat.c @@ -32,5 +32,5 @@ extern "C" { void root(Opaque *a, Normal b, NormalWithZST c, TupleRenamed d, TupleNamed e); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct.cpp b/tests/expectations/struct.cpp index 2869da7a4..4fe03404d 100644 --- a/tests/expectations/struct.cpp +++ b/tests/expectations/struct.cpp @@ -30,4 +30,4 @@ extern "C" { void root(Opaque *a, Normal b, NormalWithZST c, TupleRenamed d, TupleNamed e); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/struct_both.compat.c b/tests/expectations/struct_both.compat.c index 5f080d9ed..ee0f4c761 100644 --- a/tests/expectations/struct_both.compat.c +++ b/tests/expectations/struct_both.compat.c @@ -36,5 +36,5 @@ void root(struct Opaque *a, struct TupleNamed e); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_literal.compat.c b/tests/expectations/struct_literal.compat.c index 011f09e31..9478cc9db 100644 --- a/tests/expectations/struct_literal.compat.c +++ b/tests/expectations/struct_literal.compat.c @@ -25,5 +25,5 @@ extern "C" { void root(Foo x, Bar bar); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_literal.cpp b/tests/expectations/struct_literal.cpp index 68fa0f5da..678cf9302 100644 --- a/tests/expectations/struct_literal.cpp +++ b/tests/expectations/struct_literal.cpp @@ -23,4 +23,4 @@ extern "C" { void root(Foo x, Bar bar); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/struct_literal_both.compat.c b/tests/expectations/struct_literal_both.compat.c index bfc403d20..fc28786c3 100644 --- a/tests/expectations/struct_literal_both.compat.c +++ b/tests/expectations/struct_literal_both.compat.c @@ -25,5 +25,5 @@ extern "C" { void root(struct Foo x, struct Bar bar); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_literal_order.compat.c b/tests/expectations/struct_literal_order.compat.c index 3e8feb4f1..6aaa292fe 100644 --- a/tests/expectations/struct_literal_order.compat.c +++ b/tests/expectations/struct_literal_order.compat.c @@ -28,5 +28,5 @@ extern "C" { void root(ABC a1, BAC a2); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_literal_order.cpp b/tests/expectations/struct_literal_order.cpp index 9f4021ca2..cd385880f 100644 --- a/tests/expectations/struct_literal_order.cpp +++ b/tests/expectations/struct_literal_order.cpp @@ -26,4 +26,4 @@ extern "C" { void root(ABC a1, BAC a2); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/struct_literal_order_both.compat.c b/tests/expectations/struct_literal_order_both.compat.c index 849532d1b..7dbc15a9c 100644 --- a/tests/expectations/struct_literal_order_both.compat.c +++ b/tests/expectations/struct_literal_order_both.compat.c @@ -28,5 +28,5 @@ extern "C" { void root(struct ABC a1, struct BAC a2); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_literal_order_tag.compat.c b/tests/expectations/struct_literal_order_tag.compat.c index 7fd7ca69e..79e0fc6ab 100644 --- a/tests/expectations/struct_literal_order_tag.compat.c +++ b/tests/expectations/struct_literal_order_tag.compat.c @@ -28,5 +28,5 @@ extern "C" { void root(struct ABC a1, struct BAC a2); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_literal_tag.compat.c b/tests/expectations/struct_literal_tag.compat.c index 23c8ac25d..2e5bed616 100644 --- a/tests/expectations/struct_literal_tag.compat.c +++ b/tests/expectations/struct_literal_tag.compat.c @@ -25,5 +25,5 @@ extern "C" { void root(struct Foo x, struct Bar bar); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_self.compat.c b/tests/expectations/struct_self.compat.c index 1e5437527..3719db4a2 100644 --- a/tests/expectations/struct_self.compat.c +++ b/tests/expectations/struct_self.compat.c @@ -19,5 +19,5 @@ extern "C" { void root(Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_self.cpp b/tests/expectations/struct_self.cpp index e8532ad78..37389c720 100644 --- a/tests/expectations/struct_self.cpp +++ b/tests/expectations/struct_self.cpp @@ -18,4 +18,4 @@ extern "C" { void root(Bar b); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/struct_self_both.compat.c b/tests/expectations/struct_self_both.compat.c index 473f8492c..34c3da4d2 100644 --- a/tests/expectations/struct_self_both.compat.c +++ b/tests/expectations/struct_self_both.compat.c @@ -19,5 +19,5 @@ extern "C" { void root(struct Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_self_tag.compat.c b/tests/expectations/struct_self_tag.compat.c index ccb3936a9..61fbdf85c 100644 --- a/tests/expectations/struct_self_tag.compat.c +++ b/tests/expectations/struct_self_tag.compat.c @@ -19,5 +19,5 @@ extern "C" { void root(struct Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/struct_tag.compat.c b/tests/expectations/struct_tag.compat.c index 76ae4fc12..092007c03 100644 --- a/tests/expectations/struct_tag.compat.c +++ b/tests/expectations/struct_tag.compat.c @@ -36,5 +36,5 @@ void root(struct Opaque *a, struct TupleNamed e); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/swift_name.compat.c b/tests/expectations/swift_name.compat.c index 540964373..d018ce833 100644 --- a/tests/expectations/swift_name.compat.c +++ b/tests/expectations/swift_name.compat.c @@ -58,5 +58,5 @@ PointerToOpaque PointerToOpaque_create(uint8_t times) CF_SWIFT_NAME(PointerToOpa void PointerToOpaque_sayHello(PointerToOpaque self) CF_SWIFT_NAME(PointerToOpaque.sayHello(self:)); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/swift_name.cpp b/tests/expectations/swift_name.cpp index 5d5ae0bb5..56d422c5a 100644 --- a/tests/expectations/swift_name.cpp +++ b/tests/expectations/swift_name.cpp @@ -59,4 +59,4 @@ PointerToOpaque PointerToOpaque_create(uint8_t times) CF_SWIFT_NAME(PointerToOpa void PointerToOpaque_sayHello(PointerToOpaque self) CF_SWIFT_NAME(PointerToOpaque.sayHello(self:)); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/swift_name_both.compat.c b/tests/expectations/swift_name_both.compat.c index 454416226..592a8c7d5 100644 --- a/tests/expectations/swift_name_both.compat.c +++ b/tests/expectations/swift_name_both.compat.c @@ -58,5 +58,5 @@ struct PointerToOpaque PointerToOpaque_create(uint8_t times) CF_SWIFT_NAME(Point void PointerToOpaque_sayHello(struct PointerToOpaque self) CF_SWIFT_NAME(PointerToOpaque.sayHello(self:)); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/swift_name_tag.compat.c b/tests/expectations/swift_name_tag.compat.c index 6ac6a0016..89b1b2bd1 100644 --- a/tests/expectations/swift_name_tag.compat.c +++ b/tests/expectations/swift_name_tag.compat.c @@ -58,5 +58,5 @@ struct PointerToOpaque PointerToOpaque_create(uint8_t times) CF_SWIFT_NAME(Point void PointerToOpaque_sayHello(struct PointerToOpaque self) CF_SWIFT_NAME(PointerToOpaque.sayHello(self:)); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/transform_op.compat.c b/tests/expectations/transform_op.compat.c index ed7c3fd7e..8608b43b0 100644 --- a/tests/expectations/transform_op.compat.c +++ b/tests/expectations/transform_op.compat.c @@ -166,5 +166,5 @@ void foo(const StyleFoo_i32 *foo, const StyleTaz *taz); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/transform_op.cpp b/tests/expectations/transform_op.cpp index f7726b697..2d070ba48 100644 --- a/tests/expectations/transform_op.cpp +++ b/tests/expectations/transform_op.cpp @@ -390,4 +390,4 @@ void foo(const StyleFoo *foo, const StyleBaz *baz, const StyleTaz *taz); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/transform_op_both.compat.c b/tests/expectations/transform_op_both.compat.c index 3b7a7e3f0..d4ab94d3b 100644 --- a/tests/expectations/transform_op_both.compat.c +++ b/tests/expectations/transform_op_both.compat.c @@ -166,5 +166,5 @@ void foo(const union StyleFoo_i32 *foo, const struct StyleTaz *taz); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/transform_op_tag.compat.c b/tests/expectations/transform_op_tag.compat.c index 0c7c184a6..3e6c48d8c 100644 --- a/tests/expectations/transform_op_tag.compat.c +++ b/tests/expectations/transform_op_tag.compat.c @@ -166,5 +166,5 @@ void foo(const union StyleFoo_i32 *foo, const struct StyleTaz *taz); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/transparent.compat.c b/tests/expectations/transparent.compat.c index 09b27feaa..c271f8167 100644 --- a/tests/expectations/transparent.compat.c +++ b/tests/expectations/transparent.compat.c @@ -39,5 +39,5 @@ void root(TransparentComplexWrappingStructTuple a, EnumWithAssociatedConstantInImpl h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/transparent.cpp b/tests/expectations/transparent.cpp index 4c06739ba..22b5f17b9 100644 --- a/tests/expectations/transparent.cpp +++ b/tests/expectations/transparent.cpp @@ -39,4 +39,4 @@ void root(TransparentComplexWrappingStructTuple a, TransparentPrimitiveWithAssociatedConstants g, EnumWithAssociatedConstantInImpl h); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/transparent_both.compat.c b/tests/expectations/transparent_both.compat.c index 2b760c794..8d56046fd 100644 --- a/tests/expectations/transparent_both.compat.c +++ b/tests/expectations/transparent_both.compat.c @@ -39,5 +39,5 @@ void root(TransparentComplexWrappingStructTuple a, struct EnumWithAssociatedConstantInImpl h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/transparent_tag.compat.c b/tests/expectations/transparent_tag.compat.c index 26c01e477..8329ca8a0 100644 --- a/tests/expectations/transparent_tag.compat.c +++ b/tests/expectations/transparent_tag.compat.c @@ -39,5 +39,5 @@ void root(TransparentComplexWrappingStructTuple a, struct EnumWithAssociatedConstantInImpl h); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/typedef.compat.c b/tests/expectations/typedef.compat.c index d3e53ddbf..ccb39098a 100644 --- a/tests/expectations/typedef.compat.c +++ b/tests/expectations/typedef.compat.c @@ -17,5 +17,5 @@ extern "C" { void root(IntFoo_i32 a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/typedef.cpp b/tests/expectations/typedef.cpp index d04eda28a..3b3be7fcf 100644 --- a/tests/expectations/typedef.cpp +++ b/tests/expectations/typedef.cpp @@ -17,4 +17,4 @@ extern "C" { void root(IntFoo a); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/typedef_both.compat.c b/tests/expectations/typedef_both.compat.c index ebb0d566d..6a34d79cc 100644 --- a/tests/expectations/typedef_both.compat.c +++ b/tests/expectations/typedef_both.compat.c @@ -17,5 +17,5 @@ extern "C" { void root(IntFoo_i32 a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/typedef_tag.compat.c b/tests/expectations/typedef_tag.compat.c index 309b4f93a..2852cf121 100644 --- a/tests/expectations/typedef_tag.compat.c +++ b/tests/expectations/typedef_tag.compat.c @@ -17,5 +17,5 @@ extern "C" { void root(IntFoo_i32 a); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/union.compat.c b/tests/expectations/union.compat.c index b81c76c3d..c5e3d34e6 100644 --- a/tests/expectations/union.compat.c +++ b/tests/expectations/union.compat.c @@ -22,5 +22,5 @@ extern "C" { void root(Opaque *a, Normal b, NormalWithZST c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/union.cpp b/tests/expectations/union.cpp index 92d1151f4..95d0a6e1c 100644 --- a/tests/expectations/union.cpp +++ b/tests/expectations/union.cpp @@ -20,4 +20,4 @@ extern "C" { void root(Opaque *a, Normal b, NormalWithZST c); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/union_both.compat.c b/tests/expectations/union_both.compat.c index 9c33a507a..31f0a5396 100644 --- a/tests/expectations/union_both.compat.c +++ b/tests/expectations/union_both.compat.c @@ -22,5 +22,5 @@ extern "C" { void root(struct Opaque *a, union Normal b, union NormalWithZST c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/union_self.compat.c b/tests/expectations/union_self.compat.c index bfd26bc1b..74f02779f 100644 --- a/tests/expectations/union_self.compat.c +++ b/tests/expectations/union_self.compat.c @@ -19,5 +19,5 @@ extern "C" { void root(Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/union_self.cpp b/tests/expectations/union_self.cpp index 8f0e17af1..f604b4e39 100644 --- a/tests/expectations/union_self.cpp +++ b/tests/expectations/union_self.cpp @@ -18,4 +18,4 @@ extern "C" { void root(Bar b); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/union_self_both.compat.c b/tests/expectations/union_self_both.compat.c index be9ed8ed9..021057e47 100644 --- a/tests/expectations/union_self_both.compat.c +++ b/tests/expectations/union_self_both.compat.c @@ -19,5 +19,5 @@ extern "C" { void root(union Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/union_self_tag.compat.c b/tests/expectations/union_self_tag.compat.c index a150fa14d..6cf7e8fdf 100644 --- a/tests/expectations/union_self_tag.compat.c +++ b/tests/expectations/union_self_tag.compat.c @@ -19,5 +19,5 @@ extern "C" { void root(union Bar b); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/union_tag.compat.c b/tests/expectations/union_tag.compat.c index 5e68956d7..06191750d 100644 --- a/tests/expectations/union_tag.compat.c +++ b/tests/expectations/union_tag.compat.c @@ -22,5 +22,5 @@ extern "C" { void root(struct Opaque *a, union Normal b, union NormalWithZST c); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/using_namespaces.compat.c b/tests/expectations/using_namespaces.compat.c index 04bd0f1d0..3dec0725a 100644 --- a/tests/expectations/using_namespaces.compat.c +++ b/tests/expectations/using_namespaces.compat.c @@ -5,7 +5,7 @@ #ifdef __cplusplus namespace root { -#endif // __cplusplus +#endif // __cplusplus #ifdef __cplusplus extern "C" { @@ -14,9 +14,9 @@ extern "C" { void root(void); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus #ifdef __cplusplus -} // namespace root -#endif // __cplusplus +} // namespace root +#endif // __cplusplus diff --git a/tests/expectations/using_namespaces.cpp b/tests/expectations/using_namespaces.cpp index 3c65c0c92..7cceaef1b 100644 --- a/tests/expectations/using_namespaces.cpp +++ b/tests/expectations/using_namespaces.cpp @@ -12,6 +12,6 @@ extern "C" { void root(); -} // extern "C" +} // extern "C" -} // namespace root +} // namespace root diff --git a/tests/expectations/va_list.compat.c b/tests/expectations/va_list.compat.c index bdd8f4bbb..b6a444f00 100644 --- a/tests/expectations/va_list.compat.c +++ b/tests/expectations/va_list.compat.c @@ -12,5 +12,5 @@ int32_t va_list_test(va_list ap); int32_t va_list_test2(va_list ap); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/va_list.cpp b/tests/expectations/va_list.cpp index 2a3344b1a..79b32c85d 100644 --- a/tests/expectations/va_list.cpp +++ b/tests/expectations/va_list.cpp @@ -10,4 +10,4 @@ int32_t va_list_test(va_list ap); int32_t va_list_test2(va_list ap); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/workspace.compat.c b/tests/expectations/workspace.compat.c index dd8b86c89..0b09fbdf0 100644 --- a/tests/expectations/workspace.compat.c +++ b/tests/expectations/workspace.compat.c @@ -16,5 +16,5 @@ extern "C" { void consume_ext(ExtType _ext); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/workspace.cpp b/tests/expectations/workspace.cpp index b7b31a1d9..77d92fff2 100644 --- a/tests/expectations/workspace.cpp +++ b/tests/expectations/workspace.cpp @@ -14,4 +14,4 @@ extern "C" { void consume_ext(ExtType _ext); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/workspace_both.compat.c b/tests/expectations/workspace_both.compat.c index d830fb1b9..87363e5e3 100644 --- a/tests/expectations/workspace_both.compat.c +++ b/tests/expectations/workspace_both.compat.c @@ -16,5 +16,5 @@ extern "C" { void consume_ext(struct ExtType _ext); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/workspace_tag.compat.c b/tests/expectations/workspace_tag.compat.c index 8e4596fdf..625077b1c 100644 --- a/tests/expectations/workspace_tag.compat.c +++ b/tests/expectations/workspace_tag.compat.c @@ -16,5 +16,5 @@ extern "C" { void consume_ext(struct ExtType _ext); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/zst.compat.c b/tests/expectations/zst.compat.c index 5dbc3ea71..521c7758d 100644 --- a/tests/expectations/zst.compat.c +++ b/tests/expectations/zst.compat.c @@ -15,5 +15,5 @@ extern "C" { void *root(const void *ptr, TraitObject t); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/zst.cpp b/tests/expectations/zst.cpp index 6d6a4e2e3..f39bd9264 100644 --- a/tests/expectations/zst.cpp +++ b/tests/expectations/zst.cpp @@ -13,4 +13,4 @@ extern "C" { void *root(const void *ptr, TraitObject t); -} // extern "C" +} // extern "C" diff --git a/tests/expectations/zst_both.compat.c b/tests/expectations/zst_both.compat.c index 154f14f1e..0c8467a7c 100644 --- a/tests/expectations/zst_both.compat.c +++ b/tests/expectations/zst_both.compat.c @@ -15,5 +15,5 @@ extern "C" { void *root(const void *ptr, struct TraitObject t); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus diff --git a/tests/expectations/zst_tag.compat.c b/tests/expectations/zst_tag.compat.c index 8a115b727..67dde1eb4 100644 --- a/tests/expectations/zst_tag.compat.c +++ b/tests/expectations/zst_tag.compat.c @@ -15,5 +15,5 @@ extern "C" { void *root(const void *ptr, struct TraitObject t); #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus +} // extern "C" +#endif // __cplusplus