[libcxx] [llvm] [libc++] Format the code base (PR #74334)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 08:07:07 PST 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 9d27139293890a18b903c62f2c43954cc2bc302d 50a169c3e31b021bbaf2717344add675dd555493 -- libcxx/include/__algorithm/binary_search.h libcxx/include/__algorithm/comp_ref_type.h libcxx/include/__algorithm/copy_backward.h libcxx/include/__algorithm/copy_if.h libcxx/include/__algorithm/copy_move_common.h libcxx/include/__algorithm/copy_n.h libcxx/include/__algorithm/equal.h libcxx/include/__algorithm/equal_range.h libcxx/include/__algorithm/fill.h libcxx/include/__algorithm/fill_n.h libcxx/include/__algorithm/find_end.h libcxx/include/__algorithm/find_first_of.h libcxx/include/__algorithm/for_each_n.h libcxx/include/__algorithm/generate.h libcxx/include/__algorithm/generate_n.h libcxx/include/__algorithm/half_positive.h libcxx/include/__algorithm/in_found_result.h libcxx/include/__algorithm/in_fun_result.h libcxx/include/__algorithm/in_in_out_result.h libcxx/include/__algorithm/in_in_result.h libcxx/include/__algorithm/in_out_out_result.h libcxx/include/__algorithm/in_out_result.h libcxx/include/__algorithm/includes.h libcxx/include/__algorithm/inplace_merge.h libcxx/include/__algorithm/is_heap.h libcxx/include/__algorithm/is_heap_until.h libcxx/include/__algorithm/is_partitioned.h libcxx/include/__algorithm/is_permutation.h libcxx/include/__algorithm/is_sorted.h libcxx/include/__algorithm/is_sorted_until.h libcxx/include/__algorithm/iter_swap.h libcxx/include/__algorithm/iterator_operations.h libcxx/include/__algorithm/lexicographical_compare.h libcxx/include/__algorithm/lower_bound.h libcxx/include/__algorithm/make_heap.h libcxx/include/__algorithm/make_projected.h libcxx/include/__algorithm/max.h libcxx/include/__algorithm/max_element.h libcxx/include/__algorithm/merge.h libcxx/include/__algorithm/min.h libcxx/include/__algorithm/min_element.h libcxx/include/__algorithm/min_max_result.h libcxx/include/__algorithm/minmax.h libcxx/include/__algorithm/minmax_element.h libcxx/include/__algorithm/mismatch.h libcxx/include/__algorithm/move.h libcxx/include/__algorithm/move_backward.h libcxx/include/__algorithm/next_permutation.h libcxx/include/__algorithm/nth_element.h libcxx/include/__algorithm/partial_sort.h libcxx/include/__algorithm/partial_sort_copy.h libcxx/include/__algorithm/partition.h libcxx/include/__algorithm/partition_copy.h libcxx/include/__algorithm/partition_point.h libcxx/include/__algorithm/pop_heap.h libcxx/include/__algorithm/prev_permutation.h libcxx/include/__algorithm/push_heap.h libcxx/include/__algorithm/remove.h libcxx/include/__algorithm/remove_copy.h libcxx/include/__algorithm/remove_copy_if.h libcxx/include/__algorithm/remove_if.h libcxx/include/__algorithm/replace.h libcxx/include/__algorithm/replace_copy.h libcxx/include/__algorithm/replace_copy_if.h libcxx/include/__algorithm/replace_if.h libcxx/include/__algorithm/reverse.h libcxx/include/__algorithm/reverse_copy.h libcxx/include/__algorithm/rotate.h libcxx/include/__algorithm/rotate_copy.h libcxx/include/__algorithm/sample.h libcxx/include/__algorithm/search.h libcxx/include/__algorithm/search_n.h libcxx/include/__algorithm/set_difference.h libcxx/include/__algorithm/shift_left.h libcxx/include/__algorithm/shift_right.h libcxx/include/__algorithm/shuffle.h libcxx/include/__algorithm/sift_down.h libcxx/include/__algorithm/sort.h libcxx/include/__algorithm/sort_heap.h libcxx/include/__algorithm/stable_partition.h libcxx/include/__algorithm/stable_sort.h libcxx/include/__algorithm/swap_ranges.h libcxx/include/__algorithm/transform.h libcxx/include/__algorithm/uniform_random_bit_generator_adaptor.h libcxx/include/__algorithm/unwrap_iter.h libcxx/include/__atomic/atomic.h libcxx/include/__atomic/atomic_base.h libcxx/include/__atomic/atomic_flag.h libcxx/include/__atomic/atomic_lock_free.h libcxx/include/__atomic/atomic_sync.h libcxx/include/__atomic/check_memory_order.h libcxx/include/__atomic/contention_t.h libcxx/include/__atomic/cxx_atomic_impl.h libcxx/include/__atomic/fence.h libcxx/include/__atomic/kill_dependency.h libcxx/include/__atomic/memory_order.h libcxx/include/__availability libcxx/include/__bit/bit_cast.h libcxx/include/__bit/bit_ceil.h libcxx/include/__bit/byteswap.h libcxx/include/__bit/countl.h libcxx/include/__bit/countr.h libcxx/include/__bit/endian.h libcxx/include/__bit/popcount.h libcxx/include/__chrono/calendar.h libcxx/include/__chrono/convert_to_timespec.h libcxx/include/__chrono/day.h libcxx/include/__chrono/duration.h libcxx/include/__chrono/file_clock.h libcxx/include/__chrono/formatter.h libcxx/include/__chrono/hh_mm_ss.h libcxx/include/__chrono/high_resolution_clock.h libcxx/include/__chrono/literals.h libcxx/include/__chrono/month.h libcxx/include/__chrono/month_weekday.h libcxx/include/__chrono/monthday.h libcxx/include/__chrono/steady_clock.h libcxx/include/__chrono/system_clock.h libcxx/include/__chrono/time_point.h libcxx/include/__chrono/weekday.h libcxx/include/__chrono/year.h libcxx/include/__chrono/year_month.h libcxx/include/__chrono/year_month_day.h libcxx/include/__chrono/year_month_weekday.h libcxx/include/__compare/common_comparison_category.h libcxx/include/__compare/compare_partial_order_fallback.h libcxx/include/__compare/compare_strong_order_fallback.h libcxx/include/__compare/compare_three_way.h libcxx/include/__compare/compare_three_way_result.h libcxx/include/__compare/compare_weak_order_fallback.h libcxx/include/__compare/ordering.h libcxx/include/__compare/partial_order.h libcxx/include/__compare/strong_order.h libcxx/include/__compare/three_way_comparable.h libcxx/include/__compare/weak_order.h libcxx/include/__config libcxx/include/__coroutine/coroutine_handle.h libcxx/include/__coroutine/coroutine_traits.h libcxx/include/__coroutine/noop_coroutine_handle.h libcxx/include/__coroutine/trivial_awaitables.h libcxx/include/__debug_utils/randomize_range.h libcxx/include/__expected/expected.h libcxx/include/__filesystem/copy_options.h libcxx/include/__filesystem/directory_entry.h libcxx/include/__filesystem/directory_iterator.h libcxx/include/__filesystem/directory_options.h libcxx/include/__filesystem/file_status.h libcxx/include/__filesystem/file_type.h libcxx/include/__filesystem/operations.h libcxx/include/__filesystem/path.h libcxx/include/__filesystem/path_iterator.h libcxx/include/__filesystem/perm_options.h libcxx/include/__filesystem/perms.h libcxx/include/__filesystem/recursive_directory_iterator.h libcxx/include/__filesystem/u8path.h libcxx/include/__format/buffer.h libcxx/include/__format/concepts.h libcxx/include/__format/escaped_output_table.h libcxx/include/__format/extended_grapheme_cluster_table.h libcxx/include/__format/format_arg.h libcxx/include/__format/format_arg_store.h libcxx/include/__format/format_args.h libcxx/include/__format/format_context.h libcxx/include/__format/format_error.h libcxx/include/__format/format_functions.h libcxx/include/__format/format_parse_context.h libcxx/include/__format/format_string.h libcxx/include/__format/formatter.h libcxx/include/__format/formatter_floating_point.h libcxx/include/__format/formatter_integer.h libcxx/include/__format/formatter_integral.h libcxx/include/__format/formatter_output.h libcxx/include/__format/formatter_pointer.h libcxx/include/__format/formatter_string.h libcxx/include/__format/parser_std_format_spec.h libcxx/include/__format/unicode.h libcxx/include/__format/write_escaped.h libcxx/include/__functional/binary_function.h libcxx/include/__functional/binary_negate.h libcxx/include/__functional/bind.h libcxx/include/__functional/bind_back.h libcxx/include/__functional/bind_front.h libcxx/include/__functional/binder1st.h libcxx/include/__functional/binder2nd.h libcxx/include/__functional/boyer_moore_searcher.h libcxx/include/__functional/compose.h libcxx/include/__functional/default_searcher.h libcxx/include/__functional/function.h libcxx/include/__functional/hash.h libcxx/include/__functional/identity.h libcxx/include/__functional/invoke.h libcxx/include/__functional/is_transparent.h libcxx/include/__functional/mem_fn.h libcxx/include/__functional/mem_fun_ref.h libcxx/include/__functional/not_fn.h libcxx/include/__functional/operations.h libcxx/include/__functional/perfect_forward.h libcxx/include/__functional/pointer_to_binary_function.h libcxx/include/__functional/pointer_to_unary_function.h libcxx/include/__functional/ranges_operations.h libcxx/include/__functional/reference_wrapper.h libcxx/include/__functional/unary_function.h libcxx/include/__functional/unary_negate.h libcxx/include/__functional/weak_result_type.h libcxx/include/__fwd/get.h libcxx/include/__fwd/span.h libcxx/include/__fwd/string_view.h libcxx/include/__fwd/subrange.h libcxx/include/__hash_table libcxx/include/__ios/fpos.h libcxx/include/__iterator/access.h libcxx/include/__iterator/advance.h libcxx/include/__iterator/back_insert_iterator.h libcxx/include/__iterator/common_iterator.h libcxx/include/__iterator/concepts.h libcxx/include/__iterator/counted_iterator.h libcxx/include/__iterator/data.h libcxx/include/__iterator/default_sentinel.h libcxx/include/__iterator/distance.h libcxx/include/__iterator/empty.h libcxx/include/__iterator/erase_if_container.h libcxx/include/__iterator/front_insert_iterator.h libcxx/include/__iterator/incrementable_traits.h libcxx/include/__iterator/indirectly_comparable.h libcxx/include/__iterator/insert_iterator.h libcxx/include/__iterator/istream_iterator.h libcxx/include/__iterator/istreambuf_iterator.h libcxx/include/__iterator/iter_move.h libcxx/include/__iterator/iter_swap.h libcxx/include/__iterator/iterator.h libcxx/include/__iterator/iterator_traits.h libcxx/include/__iterator/mergeable.h libcxx/include/__iterator/move_iterator.h libcxx/include/__iterator/move_sentinel.h libcxx/include/__iterator/next.h libcxx/include/__iterator/ostream_iterator.h libcxx/include/__iterator/ostreambuf_iterator.h libcxx/include/__iterator/permutable.h libcxx/include/__iterator/prev.h libcxx/include/__iterator/readable_traits.h libcxx/include/__iterator/reverse_access.h libcxx/include/__iterator/reverse_iterator.h libcxx/include/__iterator/size.h libcxx/include/__iterator/sortable.h libcxx/include/__iterator/unreachable_sentinel.h libcxx/include/__iterator/wrap_iter.h libcxx/include/__locale libcxx/include/__locale_dir/locale_base_api/bsd_locale_defaults.h libcxx/include/__locale_dir/locale_base_api/bsd_locale_fallbacks.h libcxx/include/__locale_dir/locale_base_api/locale_guard.h libcxx/include/__mbstate_t.h libcxx/include/__memory/addressof.h libcxx/include/__memory/aligned_alloc.h libcxx/include/__memory/allocate_at_least.h libcxx/include/__memory/allocation_guard.h libcxx/include/__memory/allocator.h libcxx/include/__memory/allocator_arg_t.h libcxx/include/__memory/allocator_destructor.h libcxx/include/__memory/allocator_traits.h libcxx/include/__memory/assume_aligned.h libcxx/include/__memory/auto_ptr.h libcxx/include/__memory/builtin_new_allocator.h libcxx/include/__memory/compressed_pair.h libcxx/include/__memory/concepts.h libcxx/include/__memory/construct_at.h libcxx/include/__memory/destruct_n.h libcxx/include/__memory/pointer_traits.h libcxx/include/__memory/ranges_construct_at.h libcxx/include/__memory/ranges_uninitialized_algorithms.h libcxx/include/__memory/raw_storage_iterator.h libcxx/include/__memory/shared_ptr.h libcxx/include/__memory/temp_value.h libcxx/include/__memory/temporary_buffer.h libcxx/include/__memory/uninitialized_algorithms.h libcxx/include/__memory/unique_ptr.h libcxx/include/__memory/uses_allocator.h libcxx/include/__node_handle libcxx/include/__numeric/accumulate.h libcxx/include/__numeric/adjacent_difference.h libcxx/include/__numeric/exclusive_scan.h libcxx/include/__numeric/gcd_lcm.h libcxx/include/__numeric/inclusive_scan.h libcxx/include/__numeric/inner_product.h libcxx/include/__numeric/iota.h libcxx/include/__numeric/midpoint.h libcxx/include/__numeric/partial_sum.h libcxx/include/__numeric/reduce.h libcxx/include/__numeric/transform_exclusive_scan.h libcxx/include/__numeric/transform_inclusive_scan.h libcxx/include/__numeric/transform_reduce.h libcxx/include/__random/bernoulli_distribution.h libcxx/include/__random/binomial_distribution.h libcxx/include/__random/cauchy_distribution.h libcxx/include/__random/chi_squared_distribution.h libcxx/include/__random/clamp_to_integral.h libcxx/include/__random/discard_block_engine.h libcxx/include/__random/discrete_distribution.h libcxx/include/__random/exponential_distribution.h libcxx/include/__random/extreme_value_distribution.h libcxx/include/__random/fisher_f_distribution.h libcxx/include/__random/gamma_distribution.h libcxx/include/__random/generate_canonical.h libcxx/include/__random/geometric_distribution.h libcxx/include/__random/independent_bits_engine.h libcxx/include/__random/is_seed_sequence.h libcxx/include/__random/is_valid.h libcxx/include/__random/linear_congruential_engine.h libcxx/include/__random/log2.h libcxx/include/__random/lognormal_distribution.h libcxx/include/__random/mersenne_twister_engine.h libcxx/include/__random/negative_binomial_distribution.h libcxx/include/__random/normal_distribution.h libcxx/include/__random/piecewise_constant_distribution.h libcxx/include/__random/piecewise_linear_distribution.h libcxx/include/__random/poisson_distribution.h libcxx/include/__random/random_device.h libcxx/include/__random/ranlux.h libcxx/include/__random/seed_seq.h libcxx/include/__random/shuffle_order_engine.h libcxx/include/__random/student_t_distribution.h libcxx/include/__random/subtract_with_carry_engine.h libcxx/include/__random/uniform_int_distribution.h libcxx/include/__random/uniform_random_bit_generator.h libcxx/include/__random/uniform_real_distribution.h libcxx/include/__random/weibull_distribution.h libcxx/include/__ranges/access.h libcxx/include/__ranges/all.h libcxx/include/__ranges/common_view.h libcxx/include/__ranges/concepts.h libcxx/include/__ranges/counted.h libcxx/include/__ranges/data.h libcxx/include/__ranges/drop_view.h libcxx/include/__ranges/empty.h libcxx/include/__ranges/empty_view.h libcxx/include/__ranges/enable_view.h libcxx/include/__ranges/filter_view.h libcxx/include/__ranges/iota_view.h libcxx/include/__ranges/istream_view.h libcxx/include/__ranges/join_view.h libcxx/include/__ranges/lazy_split_view.h libcxx/include/__ranges/non_propagating_cache.h libcxx/include/__ranges/owning_view.h libcxx/include/__ranges/range_adaptor.h libcxx/include/__ranges/rbegin.h libcxx/include/__ranges/ref_view.h libcxx/include/__ranges/rend.h libcxx/include/__ranges/reverse_view.h libcxx/include/__ranges/single_view.h libcxx/include/__ranges/size.h libcxx/include/__ranges/subrange.h libcxx/include/__ranges/take_view.h libcxx/include/__ranges/transform_view.h libcxx/include/__ranges/view_interface.h libcxx/include/__ranges/views.h libcxx/include/__ranges/zip_view.h libcxx/include/__split_buffer libcxx/include/__string/char_traits.h libcxx/include/__string/extern_template_lists.h libcxx/include/__support/android/locale_bionic.h libcxx/include/__support/fuchsia/xlocale.h libcxx/include/__support/ibm/gettod_zos.h libcxx/include/__support/ibm/locale_mgmt_zos.h libcxx/include/__support/ibm/nanosleep.h libcxx/include/__support/ibm/xlocale.h libcxx/include/__support/newlib/xlocale.h libcxx/include/__support/win32/locale_win32.h libcxx/include/__support/xlocale/__nop_locale_mgmt.h libcxx/include/__system_error/errc.h libcxx/include/__thread/formatter.h libcxx/include/__thread/poll_with_backoff.h libcxx/include/__thread/this_thread.h libcxx/include/__thread/thread.h libcxx/include/__thread/timed_backoff_policy.h libcxx/include/__threading_support libcxx/include/__tree libcxx/include/__tuple/make_tuple_types.h libcxx/include/__tuple/sfinae_helpers.h libcxx/include/__tuple/tuple_element.h libcxx/include/__tuple/tuple_indices.h libcxx/include/__tuple/tuple_like_ext.h libcxx/include/__tuple/tuple_size.h libcxx/include/__tuple/tuple_types.h libcxx/include/__utility/as_const.h libcxx/include/__utility/cmp.h libcxx/include/__utility/convert_to_integral.h libcxx/include/__utility/exchange.h libcxx/include/__utility/in_place.h libcxx/include/__utility/integer_sequence.h libcxx/include/__utility/pair.h libcxx/include/__utility/piecewise_construct.h libcxx/include/__utility/priority_tag.h libcxx/include/__utility/rel_ops.h libcxx/include/__utility/to_underlying.h libcxx/include/__utility/unreachable.h libcxx/include/__variant/monostate.h libcxx/include/__verbose_abort libcxx/include/any libcxx/include/array libcxx/include/barrier libcxx/include/bitset libcxx/include/cctype libcxx/include/chrono libcxx/include/cmath libcxx/include/codecvt libcxx/include/complex libcxx/include/condition_variable libcxx/include/cstddef libcxx/include/ctype.h libcxx/include/cuchar libcxx/include/deque libcxx/include/errno.h libcxx/include/expected libcxx/include/experimental/__config libcxx/include/experimental/__memory libcxx/include/experimental/iterator libcxx/include/experimental/propagate_const libcxx/include/experimental/type_traits libcxx/include/experimental/utility libcxx/include/ext/__hash libcxx/include/ext/hash_map libcxx/include/ext/hash_set libcxx/include/fenv.h libcxx/include/float.h libcxx/include/forward_list libcxx/include/fstream libcxx/include/future libcxx/include/initializer_list libcxx/include/inttypes.h libcxx/include/iomanip libcxx/include/ios libcxx/include/iosfwd libcxx/include/istream libcxx/include/latch libcxx/include/limits libcxx/include/list libcxx/include/locale libcxx/include/locale.h libcxx/include/map libcxx/include/math.h libcxx/include/memory libcxx/include/mutex libcxx/include/new libcxx/include/numbers libcxx/include/optional libcxx/include/ostream libcxx/include/queue libcxx/include/ranges libcxx/include/ratio libcxx/include/regex libcxx/include/scoped_allocator libcxx/include/semaphore libcxx/include/set libcxx/include/span libcxx/include/sstream libcxx/include/stack libcxx/include/stdatomic.h libcxx/include/stdbool.h libcxx/include/stddef.h libcxx/include/stdexcept libcxx/include/stdint.h libcxx/include/stdio.h libcxx/include/stdlib.h libcxx/include/streambuf libcxx/include/string libcxx/include/string.h libcxx/include/string_view libcxx/include/strstream libcxx/include/thread libcxx/include/tuple libcxx/include/typeindex libcxx/include/typeinfo libcxx/include/uchar.h libcxx/include/unordered_map libcxx/include/unordered_set libcxx/include/valarray libcxx/include/variant libcxx/include/vector libcxx/include/wchar.h libcxx/include/wctype.h libcxx/src/any.cpp libcxx/src/atomic.cpp libcxx/src/barrier.cpp libcxx/src/bind.cpp libcxx/src/call_once.cpp libcxx/src/charconv.cpp libcxx/src/chrono.cpp libcxx/src/condition_variable.cpp libcxx/src/condition_variable_destructor.cpp libcxx/src/exception.cpp libcxx/src/filesystem/directory_entry.cpp libcxx/src/filesystem/directory_iterator.cpp libcxx/src/filesystem/error.h libcxx/src/filesystem/file_descriptor.h libcxx/src/filesystem/filesystem_clock.cpp libcxx/src/filesystem/filesystem_error.cpp libcxx/src/filesystem/int128_builtins.cpp libcxx/src/filesystem/operations.cpp libcxx/src/filesystem/path.cpp libcxx/src/filesystem/path_parser.h libcxx/src/filesystem/posix_compat.h libcxx/src/filesystem/time_utils.h libcxx/src/functional.cpp libcxx/src/future.cpp libcxx/src/hash.cpp libcxx/src/include/apple_availability.h libcxx/src/include/atomic_support.h libcxx/src/include/config_elast.h libcxx/src/include/refstring.h libcxx/src/include/ryu/ryu.h libcxx/src/include/sso_allocator.h libcxx/src/ios.cpp libcxx/src/iostream.cpp libcxx/src/locale.cpp libcxx/src/memory.cpp libcxx/src/mutex.cpp libcxx/src/mutex_destructor.cpp libcxx/src/optional.cpp libcxx/src/random.cpp libcxx/src/random_shuffle.cpp libcxx/src/regex.cpp libcxx/src/std_stream.h libcxx/src/string.cpp libcxx/src/support/ibm/mbsnrtowcs.cpp libcxx/src/support/ibm/wcsnrtombs.cpp libcxx/src/support/ibm/xlocale_zos.cpp libcxx/src/support/win32/locale_win32.cpp libcxx/src/support/win32/support.cpp libcxx/src/support/win32/thread_win32.cpp libcxx/src/system_error.cpp libcxx/src/thread.cpp libcxx/src/typeinfo.cpp libcxx/src/valarray.cpp libcxx/src/variant.cpp libcxx/src/vector.cpp libcxx/src/verbose_abort.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/include/__string/extern_template_lists.h b/libcxx/include/__string/extern_template_lists.h
index 128468823d..eb10f384dc 100644
--- a/libcxx/include/__string/extern_template_lists.h
+++ b/libcxx/include/__string/extern_template_lists.h
@@ -27,380 +27,419 @@
 // For stable, the ABI list should rarely change, except for adding new
 // functions supporting new c++ version / API changes. Typically entries
 // must never be removed from the stable list.
-#define _LIBCPP_STRING_V1_EXTERN_TEMPLATE_LIST(_Func, _CharType)                                                                                              \
-  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(                                                                  \
-      size_type,                                                                                                                                              \
-      size_type,                                                                                                                                              \
-      value_type const*,                                                                                                                                      \
-      size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                                                          \
-                            basic_string<_CharType>::rfind(value_type const*, size_type, size_type)                                                           \
-                                const) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                                   \
-                                                 basic_string<_CharType>::__init(                                                                             \
-                                                     value_type const*, size_type, size_type))                                                                \
-      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::basic_string(basic_string const&)) _Func(                                                      \
-          _LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(                                                                \
-              size_type,                                                                                                                                      \
-              size_type,                                                                                                                                      \
-              value_type const*)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                                                                             \
-                                            basic_string<_CharType>::basic_string(                                                                            \
-                                                basic_string const&, allocator<_CharType> const&))                                                            \
-          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                                    \
-                _CharType>::find_last_not_of(value_type const*, size_type, size_type)                                                                         \
-                    const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::                                                                          \
-                                     ~basic_string()) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                      \
-                                                                basic_string<_CharType>::                                                                     \
-                                                                    find_first_not_of(value_type const*,                                                      \
-                                                                                      size_type,                                                              \
-                                                                                      size_type)                                                              \
-                                                                        const)                                                                                \
-              _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::insert(                                                       \
-                  size_type,                                                                                                                                  \
-                  size_type,                                                                                                                                  \
-                  value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                             \
-                                     operator=(                                                                                                               \
-                                         value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                          \
-                                                                __init(value_type const*, size_type))                                                         \
-                  _Func(_LIBCPP_EXPORTED_FROM_ABI const _CharType& basic_string<_CharType>::at(size_type)                                                     \
-                            const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                         \
-                                             insert(size_type, value_type const*, size_type))                                                                 \
-                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                        \
-                            _CharType>::find_first_of(value_type const*, size_type, size_type)                                                                \
-                                const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                     \
-                                                 replace(                                                                                                     \
-                                                     size_type,                                                                                               \
-                                                     size_type,                                                                                               \
-                                                     size_type,                                                                                               \
-                                                     value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                    \
-                                                                            basic_string<_CharType>::                                                         \
-                                                                                assign(value_type const*, size_type))                                         \
-                          _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::reserve(size_type)) _Func(                                            \
-                              _LIBCPP_EXPORTED_FROM_ABI                                                                                                       \
-                                  basic_string<_CharType>&                                                                                                    \
-                                      basic_string<_CharType>::append(value_type const*, size_type))                                                          \
-                              _Func(                                                                                                                          \
-                                  _LIBCPP_EXPORTED_FROM_ABI                                                                                                   \
-                                      basic_string<_CharType>& basic_string<_CharType>::                                                                      \
-                                          assign(basic_string const&,                                                                                         \
-                                                 size_type,                                                                                                   \
-                                                 size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                                                  \
-                                                                       basic_string<_CharType>::size_type                                                     \
-                                                                           basic_string<_CharType>::copy(value_type*,                                         \
-                                                                                                         size_type,                                           \
-                                                                                                         size_type)                                           \
-                                                                               const)                                                                         \
-                                  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::basic_string(                                                      \
-                                      basic_string const&,                                                                                                    \
-                                      size_type,                                                                                                              \
-                                      size_type,                                                                                                              \
-                                      allocator<_CharType> const&))                                                                                           \
-                                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                        \
-                                            _CharType>::find(value_type, size_type)                                                                           \
-                                                const) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                         \
-                                                                 __init(size_type, value_type))                                                               \
-                                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<                                              \
-                                                _CharType>::                                                                                                  \
-                                                    insert(                                                                                                   \
-                                                        size_type,                                                                                            \
-                                                        value_type const*)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                                   \
-                                                                                      basic_string<_CharType>::                                               \
-                                                                                          size_type basic_string<                                             \
-                                                                                              _CharType>::                                                    \
-                                                                                              find_last_of(                                                   \
-                                                                                                  value_type const*, size_type, size_type)                    \
-                                                                                                  const)                                                      \
-                                              _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::__grow_by(                                        \
-                                                  size_type,                                                                                                  \
-                                                  size_type,                                                                                                  \
-                                                  size_type,                                                                                                  \
-                                                  size_type,                                                                                                  \
-                                                  size_type,                                                                                                  \
-                                                  size_type))                                                                                                 \
-                                                  _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                        \
-                                                            basic_string<_CharType>::__grow_by_and_replace(                                                   \
-                                                                size_type,                                                                                    \
-                                                                size_type,                                                                                    \
-                                                                size_type,                                                                                    \
-                                                                size_type,                                                                                    \
-                                                                size_type,                                                                                    \
-                                                                size_type,                                                                                    \
-                                                                value_type const*)) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                      \
-                                                                                              basic_string<                                                   \
-                                                                                                  _CharType>::                                                \
-                                                                                                  push_back(value_type))                                      \
-                                                      _Func(                                                                                                  \
-                                                          _LIBCPP_EXPORTED_FROM_ABI                                                                           \
-                                                              basic_string<_CharType>& basic_string<                                                          \
-                                                                  _CharType>::append(size_type, value_type))                                                  \
-                                                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<                                                       \
-                                                                _CharType>::size_type                                                                         \
-                                                                    basic_string<_CharType>::rfind(value_type,                                                \
-                                                                                                   size_type)                                                 \
-                                                                        const) _Func(_LIBCPP_EXPORTED_FROM_ABI const                                          \
-                                                                                         basic_string<                                                        \
-                                                                                             _CharType>::size_type                                            \
-                                                                                             basic_string<_CharType>::npos)                                   \
-                                                              _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                        \
-                                                                        basic_string<_CharType>::assign(                                                      \
-                                                                            size_type,                                                                        \
-                                                                            value_type))                                                                      \
-                                                                  _Func(                                                                                      \
-                                                                      _LIBCPP_EXPORTED_FROM_ABI                                                               \
-                                                                          basic_string<_CharType>& basic_string<                                              \
-                                                                              _CharType>::erase(size_type, size_type))                                        \
-                                                                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<                                           \
-                                                                            _CharType>&                                                                       \
-                                                                                basic_string<_CharType>::append(                                              \
-                                                                                    basic_string const&,                                                      \
-                                                                                    size_type,                                                                \
-                                                                                    size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI int                           \
-                                                                                                          basic_string<                                       \
-                                                                                                              _CharType>::                                    \
-                                                                                                              compare(                                        \
-                                                                                                                  value_type const*)                          \
-                                                                                                                  const)                                      \
-                                                                          _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                                   \
-                                                                                _CharType>::                                                                  \
-                                                                                    compare(                                                                  \
-                                                                                        size_type,                                                            \
-                                                                                        size_type,                                                            \
-                                                                                        value_type const*)                                                    \
-                                                                                        const) _Func(_LIBCPP_EXPORTED_FROM_ABI                                \
-                                                                                                         _CharType& basic_string<                             \
-                                                                                                             _CharType>::                                     \
-                                                                                                             at(size_type))                                   \
-                                                                              _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<                                   \
-                                                                                    _CharType>&                                                               \
-                                                                                        basic_string<_CharType>::assign(                                      \
-                                                                                            value_type const*))                                               \
-                                                                                  _Func(                                                                      \
-                                                                                      _LIBCPP_EXPORTED_FROM_ABI basic_string<                                 \
-                                                                                          _CharType>::size_type                                               \
-                                                                                          basic_string<_CharType>::                                           \
-                                                                                              find(value_type const*,                                         \
-                                                                                                   size_type,                                                 \
-                                                                                                   size_type) const)                                          \
-                                                                                      _Func(                                                                  \
-                                                                                          _LIBCPP_EXPORTED_FROM_ABI int                                       \
-                                                                                              basic_string<                                                   \
-                                                                                                  _CharType>::                                                \
-                                                                                                  compare(                                                    \
-                                                                                                      size_type,                                              \
-                                                                                                      size_type,                                              \
-                                                                                                      basic_string const&,                                    \
-                                                                                                      size_type,                                              \
-                                                                                                      size_type)                                              \
-                                                                                                      const)                                                  \
-                                                                                          _Func(                                                              \
-                                                                                              _LIBCPP_EXPORTED_FROM_ABI int                                   \
-                                                                                                  basic_string<                                               \
-                                                                                                      _CharType>::                                            \
-                                                                                                      compare(                                                \
-                                                                                                          size_type,                                          \
-                                                                                                          size_type,                                          \
-                                                                                                          value_type const*,                                  \
-                                                                                                          size_type)                                          \
-                                                                                                          const)                                              \
-                                                                                              _Func(                                                          \
-                                                                                                  _LIBCPP_EXPORTED_FROM_ABI                                   \
-                                                                                                      basic_string<                                           \
-                                                                                                          _CharType>&                                         \
-                                                                                                          basic_string<                                       \
-                                                                                                              _CharType>::                                    \
-                                                                                                          operator=(                                          \
-                                                                                                              basic_string const&))                           \
-                                                                                                  _Func(                                                      \
-                                                                                                      _LIBCPP_EXPORTED_FROM_ABI basic_string<                 \
-                                                                                                          _CharType>&                                         \
-                                                                                                          basic_string<                                       \
-                                                                                                              _CharType>::                                    \
-                                                                                                              append(                                         \
-                                                                                                                  value_type const*))                         \
-                                                                                                      _Func(                                                  \
-                                                                                                          _LIBCPP_EXPORTED_FROM_ABI basic_string<             \
-                                                                                                              _CharType>&                                     \
-                                                                                                              basic_string<                                   \
-                                                                                                                  _CharType>::                                \
-                                                                                                                  replace(                                    \
-                                                                                                                      size_type,                              \
-                                                                                                                      size_type,                              \
-                                                                                                                      basic_string const&,                    \
-                                                                                                                      size_type,                              \
-                                                                                                                      size_type))                             \
-                                                                                                          _Func(                                              \
-                                                                                                              _LIBCPP_EXPORTED_FROM_ABI basic_string<         \
-                                                                                                                  _CharType>::iterator                        \
-                                                                                                                  basic_string<                               \
-                                                                                                                      _CharType>::                            \
-                                                                                                                      insert(                                 \
-                                                                                                                          basic_string::                      \
-                                                                                                                              const_iterator,                 \
-                                                                                                                          value_type))                        \
-                                                                                                              _Func(                                          \
-                                                                                                                  _LIBCPP_EXPORTED_FROM_ABI void              \
-                                                                                                                      basic_string<                           \
-                                                                                                                          _CharType>::                        \
-                                                                                                                          resize(                             \
-                                                                                                                              size_type,                      \
-                                                                                                                              value_type))                    \
-                                                                                                                  _Func(                                      \
-                                                                                                                      _LIBCPP_EXPORTED_FROM_ABI basic_string< \
-                                                                                                                          _CharType>&                         \
-                                                                                                                          basic_string<                       \
-                                                                                                                              _CharType>::                    \
-                                                                                                                              insert(                         \
-                                                                                                                                  size_type,                  \
-                                                                                                                                  basic_string const&,        \
-                                                                                                                                  size_type,                  \
-                                                                                                                                  size_type))
+#define _LIBCPP_STRING_V1_EXTERN_TEMPLATE_LIST(_Func, _CharType)                                                                                          \
+  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(                                                              \
+      size_type,                                                                                                                                          \
+      size_type,                                                                                                                                          \
+      value_type const*,                                                                                                                                  \
+      size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                                                      \
+                            basic_string<_CharType>::rfind(value_type const*, size_type, size_type)                                                       \
+                                const) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                               \
+                                                 basic_string<_CharType>::__init(                                                                         \
+                                                     value_type const*, size_type, size_type))                                                            \
+      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::basic_string(basic_string const&)) _Func(                                                  \
+          _LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(                                                            \
+              size_type,                                                                                                                                  \
+              size_type,                                                                                                                                  \
+              value_type const*)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                                                                         \
+                                            basic_string<_CharType>::basic_string(                                                                        \
+                                                basic_string const&, allocator<_CharType> const&))                                                        \
+          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                                \
+                _CharType>::find_last_not_of(value_type const*, size_type, size_type)                                                                     \
+                    const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::                                                                      \
+                                     ~basic_string()) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                  \
+                                                                basic_string<_CharType>::                                                                 \
+                                                                    find_first_not_of(value_type const*,                                                  \
+                                                                                      size_type,                                                          \
+                                                                                      size_type)                                                          \
+                                                                        const)                                                                            \
+              _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::insert(                                                   \
+                  size_type,                                                                                                                              \
+                  size_type,                                                                                                                              \
+                  value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                         \
+                                     operator=(                                                                                                           \
+                                         value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                      \
+                                                                __init(value_type const*, size_type))                                                     \
+                  _Func(_LIBCPP_EXPORTED_FROM_ABI const _CharType& basic_string<_CharType>::at(size_type)                                                 \
+                            const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                     \
+                                             insert(size_type, value_type const*, size_type))                                                             \
+                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                    \
+                            _CharType>::find_first_of(value_type const*, size_type, size_type)                                                            \
+                                const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                 \
+                                                 replace(                                                                                                 \
+                                                     size_type,                                                                                           \
+                                                     size_type,                                                                                           \
+                                                     size_type,                                                                                           \
+                                                     value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                \
+                                                                            basic_string<_CharType>::                                                     \
+                                                                                assign(value_type const*, size_type))                                     \
+                          _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::reserve(size_type)) _Func(                                        \
+                              _LIBCPP_EXPORTED_FROM_ABI                                                                                                   \
+                                  basic_string<_CharType>&                                                                                                \
+                                      basic_string<_CharType>::append(value_type const*, size_type))                                                      \
+                              _Func(                                                                                                                      \
+                                  _LIBCPP_EXPORTED_FROM_ABI                                                                                               \
+                                      basic_string<_CharType>& basic_string<_CharType>::                                                                  \
+                                          assign(basic_string const&,                                                                                     \
+                                                 size_type,                                                                                               \
+                                                 size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                                              \
+                                                                       basic_string<_CharType>::size_type                                                 \
+                                                                           basic_string<_CharType>::copy(value_type*,                                     \
+                                                                                                         size_type,                                       \
+                                                                                                         size_type)                                       \
+                                                                               const)                                                                     \
+                                  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::                                                               \
+                                            basic_string(basic_string const&,                                                                             \
+                                                         size_type,                                                                                       \
+                                                         size_type,                                                                                       \
+                                                         allocator<                                                                                       \
+                                                             _CharType> const&)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                          \
+                                                                                           basic_string<_CharType>::size_type basic_string<               \
+                                                                                               _CharType>::                                               \
+                                                                                               find(value_type, size_type)                                \
+                                                                                                   const)                                                 \
+                                      _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::__init(                                               \
+                                          size_type,                                                                                                      \
+                                          value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                           \
+                                                                 basic_string<                                                                            \
+                                                                     _CharType>::insert(size_type, value_type const*))                                    \
+                                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                \
+                                                _CharType>::find_last_of(value_type const*, size_type, size_type)                                         \
+                                                    const) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                 \
+                                                                     __grow_by(size_type, size_type, size_type, size_type, size_type, size_type))         \
+                                              _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                        \
+                                                        basic_string<_CharType>::__grow_by_and_replace(                                                   \
+                                                            size_type,                                                                                    \
+                                                            size_type,                                                                                    \
+                                                            size_type,                                                                                    \
+                                                            size_type,                                                                                    \
+                                                            size_type,                                                                                    \
+                                                            size_type,                                                                                    \
+                                                            value_type const*))                                                                           \
+                                                  _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string< _CharType>::push_back(                               \
+                                                      value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                                        \
+                                                                             basic_string<_CharType>& basic_string<                                       \
+                                                                                 _CharType>::                                                             \
+                                                                                 append(size_type, value_type))                                           \
+                                                      _Func(                                                                                              \
+                                                          _LIBCPP_EXPORTED_FROM_ABI                                                                       \
+                                                              basic_string<                                                                               \
+                                                                  _CharType>::size_type                                                                   \
+                                                                  basic_string<                                                                           \
+                                                                      _CharType>::rfind(value_type, size_type)                                            \
+                                                                      const) _Func(_LIBCPP_EXPORTED_FROM_ABI const                                        \
+                                                                                       basic_string<                                                      \
+                                                                                           _CharType>::size_type                                          \
+                                                                                           basic_string<                                                  \
+                                                                                               _CharType>::npos)                                          \
+                                                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                        \
+                                                                    basic_string<_CharType>::assign(                                                      \
+                                                                        size_type,                                                                        \
+                                                                        value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                      \
+                                                                                               basic_string<_CharType>& basic_string<                     \
+                                                                                                   _CharType>::                                           \
+                                                                                                   erase(size_type, size_type))                           \
+                                                              _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<                                               \
+                                                                    _CharType>&                                                                           \
+                                                                        basic_string<_CharType>::append(                                                  \
+                                                                            basic_string const&,                                                          \
+                                                                            size_type,                                                                    \
+                                                                            size_type))                                                                   \
+                                                                  _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                                       \
+                                                                        _CharType>::compare(value_type const*)                                            \
+                                                                            const)                                                                        \
+                                                                      _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                                   \
+                                                                            _CharType>::                                                                  \
+                                                                                compare(                                                                  \
+                                                                                    size_type,                                                            \
+                                                                                    size_type,                                                            \
+                                                                                    value_type const*)                                                    \
+                                                                                    const) _Func(_LIBCPP_EXPORTED_FROM_ABI                                \
+                                                                                                     _CharType& basic_string<                             \
+                                                                                                         _CharType>::                                     \
+                                                                                                         at(size_type))                                   \
+                                                                          _Func(                                                                          \
+                                                                              _LIBCPP_EXPORTED_FROM_ABI                                                   \
+                                                                                  basic_string< _CharType>&                                               \
+                                                                                      basic_string<_CharType>::assign(                                    \
+                                                                                          value_type const*))                                             \
+                                                                              _Func(                                                                      \
+                                                                                  _LIBCPP_EXPORTED_FROM_ABI                                               \
+                                                                                      basic_string<                                                       \
+                                                                                          _CharType>::size_type                                           \
+                                                                                          basic_string<_CharType>::                                       \
+                                                                                              find(value_type const*,                                     \
+                                                                                                   size_type,                                             \
+                                                                                                   size_type) const)                                      \
+                                                                                  _Func(                                                                  \
+                                                                                      _LIBCPP_EXPORTED_FROM_ABI int                                       \
+                                                                                          basic_string< _CharType>::                                      \
+                                                                                              compare(                                                    \
+                                                                                                  size_type,                                              \
+                                                                                                  size_type,                                              \
+                                                                                                  basic_string const&,                                    \
+                                                                                                  size_type,                                              \
+                                                                                                  size_type) const)                                       \
+                                                                                      _Func(                                                              \
+                                                                                          _LIBCPP_EXPORTED_FROM_ABI int                                   \
+                                                                                              basic_string<                                               \
+                                                                                                  _CharType>::                                            \
+                                                                                                  compare(                                                \
+                                                                                                      size_type,                                          \
+                                                                                                      size_type,                                          \
+                                                                                                      value_type const*,                                  \
+                                                                                                      size_type)                                          \
+                                                                                                      const)                                              \
+                                                                                          _Func(                                                          \
+                                                                                              _LIBCPP_EXPORTED_FROM_ABI                                   \
+                                                                                                  basic_string<                                           \
+                                                                                                      _CharType>&                                         \
+                                                                                                      basic_string<                                       \
+                                                                                                          _CharType>::                                    \
+                                                                                                      operator=(                                          \
+                                                                                                          basic_string const&))                           \
+                                                                                              _Func(                                                      \
+                                                                                                  _LIBCPP_EXPORTED_FROM_ABI                               \
+                                                                                                      basic_string<                                       \
+                                                                                                          _CharType>&                                     \
+                                                                                                          basic_string<                                   \
+                                                                                                              _CharType>::                                \
+                                                                                                              append(                                     \
+                                                                                                                  value_type const*))                     \
+                                                                                                  _Func(                                                  \
+                                                                                                      _LIBCPP_EXPORTED_FROM_ABI basic_string<             \
+                                                                                                          _CharType>&                                     \
+                                                                                                          basic_string<                                   \
+                                                                                                              _CharType>::                                \
+                                                                                                              replace(                                    \
+                                                                                                                  size_type,                              \
+                                                                                                                  size_type,                              \
+                                                                                                                  basic_string const&,                    \
+                                                                                                                  size_type,                              \
+                                                                                                                  size_type))                             \
+                                                                                                      _Func(                                              \
+                                                                                                          _LIBCPP_EXPORTED_FROM_ABI basic_string<         \
+                                                                                                              _CharType>::iterator                        \
+                                                                                                              basic_string<                               \
+                                                                                                                  _CharType>::                            \
+                                                                                                                  insert(                                 \
+                                                                                                                      basic_string::                      \
+                                                                                                                          const_iterator,                 \
+                                                                                                                      value_type))                        \
+                                                                                                          _Func(                                          \
+                                                                                                              _LIBCPP_EXPORTED_FROM_ABI void              \
+                                                                                                                  basic_string<                           \
+                                                                                                                      _CharType>::                        \
+                                                                                                                      resize(                             \
+                                                                                                                          size_type,                      \
+                                                                                                                          value_type))                    \
+                                                                                                              _Func(                                      \
+                                                                                                                  _LIBCPP_EXPORTED_FROM_ABI basic_string< \
+                                                                                                                      _CharType>&                         \
+                                                                                                                      basic_string<                       \
+                                                                                                                          _CharType>::                    \
+                                                                                                                          insert(                         \
+                                                                                                                              size_type,                  \
+                                                                                                                              basic_string const&,        \
+                                                                                                                              size_type,                  \
+                                                                                                                              size_type))
 
-#define _LIBCPP_STRING_UNSTABLE_EXTERN_TEMPLATE_LIST(_Func, _CharType)                                                                                                         \
-  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(                                                                                   \
-      size_type,                                                                                                                                                               \
-      size_type,                                                                                                                                                               \
-      value_type const*,                                                                                                                                                       \
-      size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                                                                           \
-                            basic_string<_CharType>::rfind(value_type const*, size_type, size_type)                                                                            \
-                                const) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                                                    \
-                                                 basic_string<_CharType>::__init(                                                                                              \
-                                                     value_type const*, size_type, size_type))                                                                                 \
-      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(size_type, size_type, value_type const*)) _Func(                               \
-          _LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                                                           \
-              _CharType>::find_last_not_of(value_type const*, size_type, size_type)                                                                                            \
-              const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::                                                                                                 \
-                               ~basic_string()) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                                             \
-                                                          basic_string<                                                                                                        \
-                                                              _CharType>::find_first_not_of(value_type const*, size_type, size_type)                                           \
-                                                              const)                                                                                                           \
-          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::insert(                                                                            \
-              size_type,                                                                                                                                                       \
-              size_type,                                                                                                                                                       \
-              value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                                                  \
-                                 operator=(                                                                                                                                    \
-                                     value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                                               \
-                                                            __init(value_type const*, size_type))                                                                              \
-              _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::__init_copy_ctor_external(value_type const*, size_type)) _Func(                                    \
-                  _LIBCPP_EXPORTED_FROM_ABI const                                                                                                                              \
-                      _CharType& basic_string<                                                                                                                                 \
-                          _CharType>::at(size_type)                                                                                                                            \
-                          const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                                            \
-                                           insert(size_type, value_type const*, size_type))                                                                                    \
-                  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                                             \
-                        _CharType>::find_first_of(value_type const*, size_type, size_type)                                                                                     \
-                            const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                                          \
-                                             replace(size_type, size_type, size_type, value_type))                                                                             \
-                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::__assign_external(value_type const*, size_type)) _Func(                \
-                          _LIBCPP_EXPORTED_FROM_ABI                                                                                                                            \
-                              basic_string<_CharType>&                                                                                                                         \
-                                  basic_string<_CharType>::__assign_external(value_type const*)) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                          \
-                                                                                                           basic_string<                                                       \
-                                                                                                               _CharType>::reserve(size_type))                                 \
-                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::append(value_type const*, size_type)) _Func(                       \
-                              _LIBCPP_EXPORTED_FROM_ABI                                                                                                                        \
-                                  basic_string<_CharType>&                                                                                                                     \
-                                      basic_string<_CharType>::assign(basic_string const&, size_type, size_type))                                                              \
-                              _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                                 \
-                                    _CharType>::copy(value_type*, size_type, size_type)                                                                                        \
-                                        const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::                                                                       \
-                                                         basic_string(basic_string const&, size_type, size_type, allocator<_CharType> const&))                                 \
-                                  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                             \
-                                        _CharType>::find(value_type, size_type)                                                                                                \
-                                            const) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                                              \
-                                                             __init(size_type, value_type))                                                                                    \
-                                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::insert(size_type, value_type const*)) _Func(           \
-                                          _LIBCPP_EXPORTED_FROM_ABI                                                                                                            \
-                                              basic_string<_CharType>::size_type basic_string<                                                                                 \
-                                                  _CharType>::find_last_of(value_type const*, size_type, size_type)                                                            \
-                                                  const) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                                        \
-                                                                   __grow_by_and_replace(size_type, size_type, size_type, size_type, size_type, size_type, value_type const*)) \
-                                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::__assign_no_alias<                                 \
-                                                false>(value_type const*,                                                                                                      \
-                                                       size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                          \
-                                                                             __assign_no_alias<true>(value_type const*, size_type))                                            \
-                                              _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::push_back(                                                         \
-                                                  value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                                        \
-                                                                         basic_string<                                                                                         \
-                                                                             _CharType>::append(size_type, value_type))                                                        \
-                                                  _Func(                                                                                                                       \
-                                                      _LIBCPP_EXPORTED_FROM_ABI                                                                                                \
-                                                          basic_string<_CharType>::size_type                                                                                   \
-                                                              basic_string<_CharType>::rfind(value_type, size_type)                                                            \
-                                                                  const) _Func(_LIBCPP_EXPORTED_FROM_ABI const                                                                 \
-                                                                                   basic_string<                                                                               \
-                                                                                       _CharType>::size_type basic_string<_CharType>::                                         \
-                                                                                       npos)                                                                                   \
-                                                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::assign(                                \
-                                                          size_type,                                                                                                           \
-                                                          value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                          \
-                                                                                 __erase_external_with_move(size_type, size_type))                                             \
-                                                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<                                                                        \
-                                                                _CharType>& basic_string<_CharType>::                                                                          \
-                                                                    append(basic_string const&,                                                                                \
-                                                                           size_type,                                                                                          \
-                                                                           size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI int                                                     \
-                                                                                                 basic_string<                                                                 \
-                                                                                                     _CharType>::compare(value_type const*) const)                             \
-                                                              _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                                                                \
-                                                                    _CharType>::compare(size_type, size_type, value_type const*)                                               \
-                                                                        const) _Func(_LIBCPP_EXPORTED_FROM_ABI _CharType& basic_string<_CharType>::                            \
-                                                                                         at(size_type))                                                                        \
-                                                                  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<                                                                \
-                                                                        _CharType>::size_type                                                                                  \
-                                                                            basic_string<_CharType>::find(                                                                     \
-                                                                                value_type const*,                                                                             \
-                                                                                size_type,                                                                                     \
-                                                                                size_type) const)                                                                              \
-                                                                      _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                                                        \
-                                                                            _CharType>::                                                                                       \
-                                                                                compare(                                                                                       \
-                                                                                    size_type,                                                                                 \
-                                                                                    size_type,                                                                                 \
-                                                                                    basic_string const&,                                                                       \
-                                                                                    size_type,                                                                                 \
-                                                                                    size_type) const)                                                                          \
-                                                                          _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                                                    \
-                                                                                _CharType>::                                                                                   \
-                                                                                    compare(                                                                                   \
-                                                                                        size_type,                                                                             \
-                                                                                        size_type,                                                                             \
-                                                                                        value_type const*,                                                                     \
-                                                                                        size_type) const)                                                                      \
-                                                                              _Func(                                                                                           \
-                                                                                  _LIBCPP_EXPORTED_FROM_ABI                                                                    \
-                                                                                      basic_string<_CharType>&                                                                 \
-                                                                                          basic_string<_CharType>::                                                            \
-                                                                                              append(value_type const*))                                                       \
-                                                                                  _Func(                                                                                       \
-                                                                                      _LIBCPP_EXPORTED_FROM_ABI                                                                \
-                                                                                          basic_string<_CharType>&                                                             \
-                                                                                              basic_string<_CharType>::replace(                                                \
-                                                                                                  size_type,                                                                   \
-                                                                                                  size_type,                                                                   \
-                                                                                                  basic_string const&,                                                         \
-                                                                                                  size_type,                                                                   \
-                                                                                                  size_type))                                                                  \
-                                                                                      _Func(                                                                                   \
-                                                                                          _LIBCPP_EXPORTED_FROM_ABI                                                            \
-                                                                                              basic_string<                                                                    \
-                                                                                                  _CharType>::iterator                                                         \
-                                                                                                  basic_string<                                                                \
-                                                                                                      _CharType>::                                                             \
-                                                                                                      insert(basic_string::                                                    \
-                                                                                                                 const_iterator,                                               \
-                                                                                                             value_type))                                                      \
-                                                                                          _Func(                                                                               \
-                                                                                              _LIBCPP_EXPORTED_FROM_ABI void                                                   \
-                                                                                                  basic_string<_CharType>::resize(                                             \
-                                                                                                      size_type,                                                               \
-                                                                                                      value_type))                                                             \
-                                                                                              _Func(                                                                           \
-                                                                                                  _LIBCPP_EXPORTED_FROM_ABI basic_string<                                      \
-                                                                                                      _CharType>&                                                              \
-                                                                                                      basic_string<                                                            \
-                                                                                                          _CharType>::                                                         \
-                                                                                                          insert(                                                              \
-                                                                                                              size_type,                                                       \
-                                                                                                              basic_string const&,                                             \
-                                                                                                              size_type,                                                       \
-                                                                                                              size_type))
+#define _LIBCPP_STRING_UNSTABLE_EXTERN_TEMPLATE_LIST(_Func, _CharType)                                                                                                \
+  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(                                                                          \
+      size_type,                                                                                                                                                      \
+      size_type,                                                                                                                                                      \
+      value_type const*,                                                                                                                                              \
+      size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                                                                  \
+                            basic_string<_CharType>::rfind(value_type const*, size_type, size_type)                                                                   \
+                                const) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                                           \
+                                                 basic_string<_CharType>::__init(                                                                                     \
+                                                     value_type const*, size_type, size_type))                                                                        \
+      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(                                                                      \
+          size_type, size_type, value_type const*)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                                \
+                                                              basic_string< _CharType>::find_last_not_of(                                                             \
+                                                                  value_type const*, size_type, size_type) const)                                                     \
+          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::~basic_string()) _Func(                                                                            \
+              _LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                                                                              \
+                  _CharType>::find_first_not_of(value_type const*, size_type, size_type)                                                                              \
+                  const) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                                                                     \
+                                   basic_string<_CharType>::insert(size_type, size_type, value_type))                                                                 \
+              _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::operator=(                                                            \
+                  value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                                                   \
+                                         basic_string<_CharType>::__init(value_type const*, size_type))                                                               \
+                  _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                                                                \
+                            basic_string<_CharType>::__init_copy_ctor_external(                                                                                       \
+                                value_type const*, size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI const                                                                  \
+                                                                         _CharType& basic_string< _CharType>::at(                                                     \
+                                                                             size_type)                                                                               \
+                                                                             const)                                                                                   \
+                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::                                                              \
+                                insert(size_type,                                                                                                                     \
+                                       value_type const*,                                                                                                             \
+                                       size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type                                                 \
+                                                             basic_string<                                                                                            \
+                                                                 _CharType>::find_first_of(value_type const*,                                                         \
+                                                                                           size_type,                                                                 \
+                                                                                           size_type) const)                                                          \
+                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<_CharType>::replace(                                                  \
+                              size_type,                                                                                                                              \
+                              size_type,                                                                                                                              \
+                              size_type,                                                                                                                              \
+                              value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                                                   \
+                                                     basic_string<_CharType>::__assign_external(                                                                      \
+                                                         value_type const*,                                                                                           \
+                                                         size_type))                                                                                                  \
+                              _Func(                                                                                                                                  \
+                                  _LIBCPP_EXPORTED_FROM_ABI                                                                                                           \
+                                      basic_string<_CharType>& basic_string<_CharType>::__assign_external(                                                            \
+                                          value_type const*)) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                                    \
+                                                                        basic_string< _CharType>::reserve(size_type))                                                 \
+                                  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                                                            \
+                                            basic_string<_CharType>::append(value_type const*, size_type))                                                            \
+                                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>& basic_string<                                                          \
+                                            _CharType>::                                                                                                              \
+                                                assign(basic_string const&,                                                                                           \
+                                                       size_type,                                                                                                     \
+                                                       size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                                                    \
+                                                                             basic_string<_CharType>::size_type                                                       \
+                                                                                 basic_string< _CharType>::copy(                                                      \
+                                                                                     value_type*, size_type, size_type)                                               \
+                                                                                     const)                                                                           \
+                                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::basic_string(                                                      \
+                                              basic_string const&,                                                                                                    \
+                                              size_type,                                                                                                              \
+                                              size_type,                                                                                                              \
+                                              allocator<_CharType> const&)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                                           \
+                                                                                      basic_string<_CharType>::                                                       \
+                                                                                          size_type basic_string< _CharType>::find(                                   \
+                                                                                              value_type, size_type) const)                                           \
+                                              _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::__init(                                                   \
+                                                  size_type,                                                                                                          \
+                                                  value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                               \
+                                                                         basic_string<_CharType>::                                                                    \
+                                                                             insert(size_type, value_type const*))                                                    \
+                                                  _Func(                                                                                                              \
+                                                      _LIBCPP_EXPORTED_FROM_ABI                                                                                       \
+                                                          basic_string<_CharType>::size_type basic_string<                                                            \
+                                                              _CharType>::                                                                                            \
+                                                              find_last_of(value_type const*,                                                                         \
+                                                                           size_type,                                                                                 \
+                                                                           size_type) const)                                                                          \
+                                                      _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::                                                  \
+                                                                __grow_by_and_replace(                                                                                \
+                                                                    size_type,                                                                                        \
+                                                                    size_type,                                                                                        \
+                                                                    size_type,                                                                                        \
+                                                                    size_type,                                                                                        \
+                                                                    size_type,                                                                                        \
+                                                                    size_type,                                                                                        \
+                                                                    value_type const*)) _Func(_LIBCPP_EXPORTED_FROM_ABI                                               \
+                                                                                                  basic_string<                                                       \
+                                                                                                      _CharType>&                                                     \
+                                                                                                      basic_string<                                                   \
+                                                                                                          _CharType>::                                                \
+                                                                                                          __assign_no_alias<                                          \
+                                                                                                              false>(                                                 \
+                                                                                                              value_type const*, size_type))                          \
+                                                          _Func(                                                                                                      \
+                                                              _LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>&                                                      \
+                                                                  basic_string<_CharType>::__assign_no_alias<true>(                                                   \
+                                                                      value_type const*,                                                                              \
+                                                                      size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI void                                                \
+                                                                                            basic_string<_CharType>::                                                 \
+                                                                                                push_back(value_type))                                                \
+                                                              _Func(                                                                                                  \
+                                                                  _LIBCPP_EXPORTED_FROM_ABI                                                                           \
+                                                                      basic_string<_CharType>& basic_string< _CharType>::append(                                      \
+                                                                          size_type,                                                                                  \
+                                                                          value_type))                                                                                \
+                                                                  _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<_CharType>::size_type basic_string<                    \
+                                                                        _CharType>::rfind(value_type, size_type)                                                      \
+                                                                            const) _Func(_LIBCPP_EXPORTED_FROM_ABI const                                              \
+                                                                                             basic_string<                                                            \
+                                                                                                 _CharType>::size_type                                                \
+                                                                                                 basic_string<                                                        \
+                                                                                                     _CharType>::npos)                                                \
+                                                                      _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<                                                   \
+                                                                            _CharType>& basic_string<_CharType>::                                                     \
+                                                                                assign(size_type,                                                                     \
+                                                                                       value_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI void basic_string<_CharType>::    \
+                                                                                                              __erase_external_with_move(                             \
+                                                                                                                  size_type,                                          \
+                                                                                                                  size_type))                                         \
+                                                                          _Func(_LIBCPP_EXPORTED_FROM_ABI basic_string<                                               \
+                                                                                _CharType>& basic_string<_CharType>::                                                 \
+                                                                                    append(basic_string const&,                                                       \
+                                                                                           size_type,                                                                 \
+                                                                                           size_type)) _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string< _CharType>:: \
+                                                                                                                 compare(                                             \
+                                                                                                                     value_type const*) const)                        \
+                                                                              _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                                       \
+                                                                                    _CharType>::compare(size_type, size_type, value_type const*)                      \
+                                                                                        const) _Func(_LIBCPP_EXPORTED_FROM_ABI _CharType& basic_string<_CharType>::   \
+                                                                                                         at(size_type))                                               \
+                                                                                  _Func(                                                                              \
+                                                                                      _LIBCPP_EXPORTED_FROM_ABI                                                       \
+                                                                                          basic_string<                                                               \
+                                                                                              _CharType>::size_type                                                   \
+                                                                                              basic_string<                                                           \
+                                                                                                  _CharType>::                                                        \
+                                                                                                  find(value_type const*,                                             \
+                                                                                                       size_type,                                                     \
+                                                                                                       size_type) const)                                              \
+                                                                                      _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                               \
+                                                                                            _CharType>::                                                              \
+                                                                                                compare(                                                              \
+                                                                                                    size_type,                                                        \
+                                                                                                    size_type,                                                        \
+                                                                                                    basic_string const&,                                              \
+                                                                                                    size_type,                                                        \
+                                                                                                    size_type) const)                                                 \
+                                                                                          _Func(_LIBCPP_EXPORTED_FROM_ABI int basic_string<                           \
+                                                                                                _CharType>::                                                          \
+                                                                                                    compare(                                                          \
+                                                                                                        size_type,                                                    \
+                                                                                                        size_type,                                                    \
+                                                                                                        value_type const*,                                            \
+                                                                                                        size_type) const)                                             \
+                                                                                              _Func(                                                                  \
+                                                                                                  _LIBCPP_EXPORTED_FROM_ABI basic_string<                             \
+                                                                                                      _CharType>&                                                     \
+                                                                                                      basic_string<_CharType>::append(                                \
+                                                                                                          value_type const*))                                         \
+                                                                                                  _Func(                                                              \
+                                                                                                      _LIBCPP_EXPORTED_FROM_ABI basic_string<                         \
+                                                                                                          _CharType>&                                                 \
+                                                                                                          basic_string<_CharType>::replace(                           \
+                                                                                                              size_type,                                              \
+                                                                                                              size_type,                                              \
+                                                                                                              basic_string const&,                                    \
+                                                                                                              size_type,                                              \
+                                                                                                              size_type))                                             \
+                                                                                                      _Func(                                                          \
+                                                                                                          _LIBCPP_EXPORTED_FROM_ABI basic_string<                     \
+                                                                                                              _CharType>::iterator                                    \
+                                                                                                              basic_string<                                           \
+                                                                                                                  _CharType>::                                        \
+                                                                                                                  insert(                                             \
+                                                                                                                      basic_string::                                  \
+                                                                                                                          const_iterator,                             \
+                                                                                                                      value_type))                                    \
+                                                                                                          _Func(                                                      \
+                                                                                                              _LIBCPP_EXPORTED_FROM_ABI void                          \
+                                                                                                                  basic_string<                                       \
+                                                                                                                      _CharType>::                                    \
+                                                                                                                      resize(                                         \
+                                                                                                                          size_type,                                  \
+                                                                                                                          value_type))                                \
+                                                                                                              _Func(                                                  \
+                                                                                                                  _LIBCPP_EXPORTED_FROM_ABI basic_string<             \
+                                                                                                                      _CharType>&                                     \
+                                                                                                                      basic_string<                                   \
+                                                                                                                          _CharType>::                                \
+                                                                                                                          insert(                                     \
+                                                                                                                              size_type,                              \
+                                                                                                                              basic_string const&,                    \
+                                                                                                                              size_type,                              \
+                                                                                                                              size_type))
 
 #endif // _LIBCPP___STRING_EXTERN_TEMPLATE_LISTS_H
diff --git a/libcxx/src/support/ibm/mbsnrtowcs.cpp b/libcxx/src/support/ibm/mbsnrtowcs.cpp
index 122dc5ed89..2bda0d1770 100644
--- a/libcxx/src/support/ibm/mbsnrtowcs.cpp
+++ b/libcxx/src/support/ibm/mbsnrtowcs.cpp
@@ -6,8 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include <cstddef>  // size_t
-#include <cwchar>   // mbstate_t
+#include <cstddef> // size_t
+#include <cwchar>  // mbstate_t
 #include <limits.h> // MB_LEN_MAX
 #include <string.h> // wmemcpy
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/74334


More information about the llvm-commits mailing list