[all-commits] [llvm/llvm-project] fa6b9e: [libc++] Normalize all our '#pragma GCC system_hea...

Quuxplusone via All-commits all-commits at lists.llvm.org
Fri Feb 4 09:28:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa6b9e401085c0a210daf81ae79af6dd0144f129
      https://github.com/llvm/llvm-project/commit/fa6b9e401085c0a210daf81ae79af6dd0144f129
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

  Changed paths:
    M libcxx/include/__algorithm/adjacent_find.h
    M libcxx/include/__algorithm/all_of.h
    M libcxx/include/__algorithm/any_of.h
    M libcxx/include/__algorithm/binary_search.h
    M libcxx/include/__algorithm/clamp.h
    M libcxx/include/__algorithm/comp.h
    M libcxx/include/__algorithm/comp_ref_type.h
    M libcxx/include/__algorithm/copy.h
    M libcxx/include/__algorithm/copy_backward.h
    M libcxx/include/__algorithm/copy_if.h
    M libcxx/include/__algorithm/copy_n.h
    M libcxx/include/__algorithm/count.h
    M libcxx/include/__algorithm/count_if.h
    M libcxx/include/__algorithm/equal.h
    M libcxx/include/__algorithm/equal_range.h
    M libcxx/include/__algorithm/fill.h
    M libcxx/include/__algorithm/fill_n.h
    M libcxx/include/__algorithm/find.h
    M libcxx/include/__algorithm/find_end.h
    M libcxx/include/__algorithm/find_first_of.h
    M libcxx/include/__algorithm/find_if.h
    M libcxx/include/__algorithm/find_if_not.h
    M libcxx/include/__algorithm/for_each.h
    M libcxx/include/__algorithm/for_each_n.h
    M libcxx/include/__algorithm/generate.h
    M libcxx/include/__algorithm/generate_n.h
    M libcxx/include/__algorithm/half_positive.h
    M libcxx/include/__algorithm/in_in_out_result.h
    M libcxx/include/__algorithm/in_in_result.h
    M libcxx/include/__algorithm/in_out_out_result.h
    M libcxx/include/__algorithm/in_out_result.h
    M libcxx/include/__algorithm/includes.h
    M libcxx/include/__algorithm/inplace_merge.h
    M libcxx/include/__algorithm/is_heap.h
    M libcxx/include/__algorithm/is_heap_until.h
    M libcxx/include/__algorithm/is_partitioned.h
    M libcxx/include/__algorithm/is_permutation.h
    M libcxx/include/__algorithm/is_sorted.h
    M libcxx/include/__algorithm/is_sorted_until.h
    M libcxx/include/__algorithm/iter_swap.h
    M libcxx/include/__algorithm/lexicographical_compare.h
    M libcxx/include/__algorithm/lower_bound.h
    M libcxx/include/__algorithm/make_heap.h
    M libcxx/include/__algorithm/max.h
    M libcxx/include/__algorithm/max_element.h
    M libcxx/include/__algorithm/merge.h
    M libcxx/include/__algorithm/min.h
    M libcxx/include/__algorithm/min_element.h
    M libcxx/include/__algorithm/minmax.h
    M libcxx/include/__algorithm/minmax_element.h
    M libcxx/include/__algorithm/mismatch.h
    M libcxx/include/__algorithm/move.h
    M libcxx/include/__algorithm/move_backward.h
    M libcxx/include/__algorithm/next_permutation.h
    M libcxx/include/__algorithm/none_of.h
    M libcxx/include/__algorithm/nth_element.h
    M libcxx/include/__algorithm/partial_sort.h
    M libcxx/include/__algorithm/partial_sort_copy.h
    M libcxx/include/__algorithm/partition.h
    M libcxx/include/__algorithm/partition_copy.h
    M libcxx/include/__algorithm/partition_point.h
    M libcxx/include/__algorithm/pop_heap.h
    M libcxx/include/__algorithm/prev_permutation.h
    M libcxx/include/__algorithm/push_heap.h
    M libcxx/include/__algorithm/remove.h
    M libcxx/include/__algorithm/remove_copy.h
    M libcxx/include/__algorithm/remove_copy_if.h
    M libcxx/include/__algorithm/remove_if.h
    M libcxx/include/__algorithm/replace.h
    M libcxx/include/__algorithm/replace_copy.h
    M libcxx/include/__algorithm/replace_copy_if.h
    M libcxx/include/__algorithm/replace_if.h
    M libcxx/include/__algorithm/reverse.h
    M libcxx/include/__algorithm/reverse_copy.h
    M libcxx/include/__algorithm/rotate.h
    M libcxx/include/__algorithm/rotate_copy.h
    M libcxx/include/__algorithm/sample.h
    M libcxx/include/__algorithm/search.h
    M libcxx/include/__algorithm/search_n.h
    M libcxx/include/__algorithm/set_difference.h
    M libcxx/include/__algorithm/set_intersection.h
    M libcxx/include/__algorithm/set_symmetric_difference.h
    M libcxx/include/__algorithm/set_union.h
    M libcxx/include/__algorithm/shift_left.h
    M libcxx/include/__algorithm/shift_right.h
    M libcxx/include/__algorithm/shuffle.h
    M libcxx/include/__algorithm/sift_down.h
    M libcxx/include/__algorithm/sort.h
    M libcxx/include/__algorithm/sort_heap.h
    M libcxx/include/__algorithm/stable_partition.h
    M libcxx/include/__algorithm/stable_sort.h
    M libcxx/include/__algorithm/swap_ranges.h
    M libcxx/include/__algorithm/transform.h
    M libcxx/include/__algorithm/unique.h
    M libcxx/include/__algorithm/unique_copy.h
    M libcxx/include/__algorithm/unwrap_iter.h
    M libcxx/include/__algorithm/upper_bound.h
    M libcxx/include/__availability
    M libcxx/include/__bit/bit_cast.h
    M libcxx/include/__bit_reference
    M libcxx/include/__bits
    M libcxx/include/__bsd_locale_defaults.h
    M libcxx/include/__bsd_locale_fallbacks.h
    M libcxx/include/__charconv/chars_format.h
    M libcxx/include/__charconv/from_chars_result.h
    M libcxx/include/__charconv/to_chars_result.h
    M libcxx/include/__chrono/calendar.h
    M libcxx/include/__chrono/convert_to_timespec.h
    M libcxx/include/__chrono/duration.h
    M libcxx/include/__chrono/file_clock.h
    M libcxx/include/__chrono/high_resolution_clock.h
    M libcxx/include/__chrono/steady_clock.h
    M libcxx/include/__chrono/system_clock.h
    M libcxx/include/__chrono/time_point.h
    M libcxx/include/__compare/common_comparison_category.h
    M libcxx/include/__compare/compare_partial_order_fallback.h
    M libcxx/include/__compare/compare_strong_order_fallback.h
    M libcxx/include/__compare/compare_three_way.h
    M libcxx/include/__compare/compare_three_way_result.h
    M libcxx/include/__compare/compare_weak_order_fallback.h
    M libcxx/include/__compare/is_eq.h
    M libcxx/include/__compare/ordering.h
    M libcxx/include/__compare/partial_order.h
    M libcxx/include/__compare/strong_order.h
    M libcxx/include/__compare/synth_three_way.h
    M libcxx/include/__compare/three_way_comparable.h
    M libcxx/include/__compare/weak_order.h
    M libcxx/include/__concepts/arithmetic.h
    M libcxx/include/__concepts/assignable.h
    M libcxx/include/__concepts/boolean_testable.h
    M libcxx/include/__concepts/class_or_enum.h
    M libcxx/include/__concepts/common_reference_with.h
    M libcxx/include/__concepts/common_with.h
    M libcxx/include/__concepts/constructible.h
    M libcxx/include/__concepts/convertible_to.h
    M libcxx/include/__concepts/copyable.h
    M libcxx/include/__concepts/derived_from.h
    M libcxx/include/__concepts/destructible.h
    M libcxx/include/__concepts/different_from.h
    M libcxx/include/__concepts/equality_comparable.h
    M libcxx/include/__concepts/invocable.h
    M libcxx/include/__concepts/movable.h
    M libcxx/include/__concepts/predicate.h
    M libcxx/include/__concepts/regular.h
    M libcxx/include/__concepts/relation.h
    M libcxx/include/__concepts/same_as.h
    M libcxx/include/__concepts/semiregular.h
    M libcxx/include/__concepts/swappable.h
    M libcxx/include/__concepts/totally_ordered.h
    M libcxx/include/__config
    M libcxx/include/__coroutine/coroutine_handle.h
    M libcxx/include/__coroutine/coroutine_traits.h
    M libcxx/include/__coroutine/noop_coroutine_handle.h
    M libcxx/include/__coroutine/trivial_awaitables.h
    M libcxx/include/__debug
    M libcxx/include/__errc
    M libcxx/include/__filesystem/copy_options.h
    M libcxx/include/__filesystem/directory_entry.h
    M libcxx/include/__filesystem/directory_iterator.h
    M libcxx/include/__filesystem/directory_options.h
    M libcxx/include/__filesystem/file_status.h
    M libcxx/include/__filesystem/file_time_type.h
    M libcxx/include/__filesystem/file_type.h
    M libcxx/include/__filesystem/filesystem_error.h
    M libcxx/include/__filesystem/operations.h
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__filesystem/path_iterator.h
    M libcxx/include/__filesystem/perm_options.h
    M libcxx/include/__filesystem/perms.h
    M libcxx/include/__filesystem/recursive_directory_iterator.h
    M libcxx/include/__filesystem/space_info.h
    M libcxx/include/__filesystem/u8path.h
    M libcxx/include/__format/format_arg.h
    M libcxx/include/__format/format_args.h
    M libcxx/include/__format/format_context.h
    M libcxx/include/__format/format_error.h
    M libcxx/include/__format/format_fwd.h
    M libcxx/include/__format/format_parse_context.h
    M libcxx/include/__format/format_string.h
    M libcxx/include/__format/formatter.h
    M libcxx/include/__format/formatter_bool.h
    M libcxx/include/__format/formatter_char.h
    M libcxx/include/__format/formatter_integer.h
    M libcxx/include/__format/formatter_integral.h
    M libcxx/include/__format/formatter_string.h
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__functional/binary_function.h
    M libcxx/include/__functional/binary_negate.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__functional/bind_back.h
    M libcxx/include/__functional/bind_front.h
    M libcxx/include/__functional/binder1st.h
    M libcxx/include/__functional/binder2nd.h
    M libcxx/include/__functional/compose.h
    M libcxx/include/__functional/default_searcher.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__functional/identity.h
    M libcxx/include/__functional/invoke.h
    M libcxx/include/__functional/is_transparent.h
    M libcxx/include/__functional/mem_fn.h
    M libcxx/include/__functional/mem_fun_ref.h
    M libcxx/include/__functional/not_fn.h
    M libcxx/include/__functional/operations.h
    M libcxx/include/__functional/perfect_forward.h
    M libcxx/include/__functional/pointer_to_binary_function.h
    M libcxx/include/__functional/pointer_to_unary_function.h
    M libcxx/include/__functional/ranges_operations.h
    M libcxx/include/__functional/reference_wrapper.h
    M libcxx/include/__functional/unary_function.h
    M libcxx/include/__functional/unary_negate.h
    M libcxx/include/__functional/unwrap_ref.h
    M libcxx/include/__functional/weak_result_type.h
    M libcxx/include/__functional_base
    M libcxx/include/__hash_table
    M libcxx/include/__iterator/access.h
    M libcxx/include/__iterator/advance.h
    M libcxx/include/__iterator/back_insert_iterator.h
    M libcxx/include/__iterator/common_iterator.h
    M libcxx/include/__iterator/concepts.h
    M libcxx/include/__iterator/counted_iterator.h
    M libcxx/include/__iterator/data.h
    M libcxx/include/__iterator/default_sentinel.h
    M libcxx/include/__iterator/distance.h
    M libcxx/include/__iterator/empty.h
    M libcxx/include/__iterator/erase_if_container.h
    M libcxx/include/__iterator/front_insert_iterator.h
    M libcxx/include/__iterator/incrementable_traits.h
    M libcxx/include/__iterator/indirectly_comparable.h
    M libcxx/include/__iterator/insert_iterator.h
    M libcxx/include/__iterator/istream_iterator.h
    M libcxx/include/__iterator/istreambuf_iterator.h
    M libcxx/include/__iterator/iter_move.h
    M libcxx/include/__iterator/iter_swap.h
    M libcxx/include/__iterator/iterator.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/__iterator/move_iterator.h
    M libcxx/include/__iterator/next.h
    M libcxx/include/__iterator/ostream_iterator.h
    M libcxx/include/__iterator/ostreambuf_iterator.h
    M libcxx/include/__iterator/prev.h
    M libcxx/include/__iterator/projected.h
    M libcxx/include/__iterator/readable_traits.h
    M libcxx/include/__iterator/reverse_access.h
    M libcxx/include/__iterator/reverse_iterator.h
    M libcxx/include/__iterator/size.h
    M libcxx/include/__iterator/unreachable_sentinel.h
    M libcxx/include/__iterator/wrap_iter.h
    M libcxx/include/__locale
    M libcxx/include/__mbstate_t.h
    M libcxx/include/__memory/addressof.h
    M libcxx/include/__memory/allocation_guard.h
    M libcxx/include/__memory/allocator.h
    M libcxx/include/__memory/allocator_arg_t.h
    M libcxx/include/__memory/allocator_traits.h
    M libcxx/include/__memory/auto_ptr.h
    M libcxx/include/__memory/compressed_pair.h
    M libcxx/include/__memory/concepts.h
    M libcxx/include/__memory/construct_at.h
    M libcxx/include/__memory/pointer_traits.h
    M libcxx/include/__memory/ranges_construct_at.h
    M libcxx/include/__memory/ranges_uninitialized_algorithms.h
    M libcxx/include/__memory/raw_storage_iterator.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__memory/temporary_buffer.h
    M libcxx/include/__memory/uninitialized_algorithms.h
    M libcxx/include/__memory/unique_ptr.h
    M libcxx/include/__memory/uses_allocator.h
    M libcxx/include/__mutex_base
    M libcxx/include/__node_handle
    M libcxx/include/__nullptr
    M libcxx/include/__numeric/accumulate.h
    M libcxx/include/__numeric/inner_product.h
    M libcxx/include/__random/bernoulli_distribution.h
    M libcxx/include/__random/binomial_distribution.h
    M libcxx/include/__random/cauchy_distribution.h
    M libcxx/include/__random/chi_squared_distribution.h
    M libcxx/include/__random/clamp_to_integral.h
    M libcxx/include/__random/default_random_engine.h
    M libcxx/include/__random/discard_block_engine.h
    M libcxx/include/__random/discrete_distribution.h
    M libcxx/include/__random/exponential_distribution.h
    M libcxx/include/__random/extreme_value_distribution.h
    M libcxx/include/__random/fisher_f_distribution.h
    M libcxx/include/__random/gamma_distribution.h
    M libcxx/include/__random/generate_canonical.h
    M libcxx/include/__random/geometric_distribution.h
    M libcxx/include/__random/independent_bits_engine.h
    M libcxx/include/__random/is_seed_sequence.h
    M libcxx/include/__random/knuth_b.h
    M libcxx/include/__random/linear_congruential_engine.h
    M libcxx/include/__random/log2.h
    M libcxx/include/__random/lognormal_distribution.h
    M libcxx/include/__random/mersenne_twister_engine.h
    M libcxx/include/__random/negative_binomial_distribution.h
    M libcxx/include/__random/normal_distribution.h
    M libcxx/include/__random/piecewise_constant_distribution.h
    M libcxx/include/__random/piecewise_linear_distribution.h
    M libcxx/include/__random/poisson_distribution.h
    M libcxx/include/__random/random_device.h
    M libcxx/include/__random/ranlux.h
    M libcxx/include/__random/seed_seq.h
    M libcxx/include/__random/shuffle_order_engine.h
    M libcxx/include/__random/student_t_distribution.h
    M libcxx/include/__random/subtract_with_carry_engine.h
    M libcxx/include/__random/uniform_int_distribution.h
    M libcxx/include/__random/uniform_random_bit_generator.h
    M libcxx/include/__random/uniform_real_distribution.h
    M libcxx/include/__random/weibull_distribution.h
    M libcxx/include/__ranges/access.h
    M libcxx/include/__ranges/all.h
    M libcxx/include/__ranges/common_view.h
    M libcxx/include/__ranges/concepts.h
    M libcxx/include/__ranges/copyable_box.h
    M libcxx/include/__ranges/counted.h
    M libcxx/include/__ranges/dangling.h
    M libcxx/include/__ranges/data.h
    M libcxx/include/__ranges/drop_view.h
    M libcxx/include/__ranges/empty.h
    M libcxx/include/__ranges/empty_view.h
    M libcxx/include/__ranges/enable_borrowed_range.h
    M libcxx/include/__ranges/enable_view.h
    M libcxx/include/__ranges/iota_view.h
    M libcxx/include/__ranges/join_view.h
    M libcxx/include/__ranges/non_propagating_cache.h
    M libcxx/include/__ranges/owning_view.h
    M libcxx/include/__ranges/range_adaptor.h
    M libcxx/include/__ranges/ref_view.h
    M libcxx/include/__ranges/reverse_view.h
    M libcxx/include/__ranges/single_view.h
    M libcxx/include/__ranges/size.h
    M libcxx/include/__ranges/subrange.h
    M libcxx/include/__ranges/take_view.h
    M libcxx/include/__ranges/transform_view.h
    M libcxx/include/__ranges/view_interface.h
    M libcxx/include/__split_buffer
    M libcxx/include/__std_stream
    M libcxx/include/__string
    M libcxx/include/__thread/poll_with_backoff.h
    M libcxx/include/__thread/timed_backoff_policy.h
    M libcxx/include/__threading_support
    M libcxx/include/__tree
    M libcxx/include/__tuple
    M libcxx/include/__utility/as_const.h
    M libcxx/include/__utility/auto_cast.h
    M libcxx/include/__utility/cmp.h
    M libcxx/include/__utility/declval.h
    M libcxx/include/__utility/exchange.h
    M libcxx/include/__utility/forward.h
    M libcxx/include/__utility/in_place.h
    M libcxx/include/__utility/integer_sequence.h
    M libcxx/include/__utility/move.h
    M libcxx/include/__utility/pair.h
    M libcxx/include/__utility/piecewise_construct.h
    M libcxx/include/__utility/priority_tag.h
    M libcxx/include/__utility/rel_ops.h
    M libcxx/include/__utility/swap.h
    M libcxx/include/__utility/to_underlying.h
    M libcxx/include/__utility/transaction.h
    M libcxx/include/__variant/monostate.h
    M libcxx/include/algorithm
    M libcxx/include/any
    M libcxx/include/array
    M libcxx/include/atomic
    M libcxx/include/barrier
    M libcxx/include/bit
    M libcxx/include/bitset
    M libcxx/include/cassert
    M libcxx/include/ccomplex
    M libcxx/include/cctype
    M libcxx/include/cerrno
    M libcxx/include/cfenv
    M libcxx/include/cfloat
    M libcxx/include/charconv
    M libcxx/include/chrono
    M libcxx/include/cinttypes
    M libcxx/include/ciso646
    M libcxx/include/climits
    M libcxx/include/clocale
    M libcxx/include/cmath
    M libcxx/include/codecvt
    M libcxx/include/compare
    M libcxx/include/complex
    M libcxx/include/complex.h
    M libcxx/include/concepts
    M libcxx/include/condition_variable
    M libcxx/include/coroutine
    M libcxx/include/csetjmp
    M libcxx/include/csignal
    M libcxx/include/cstdarg
    M libcxx/include/cstdbool
    M libcxx/include/cstddef
    M libcxx/include/cstdint
    M libcxx/include/cstdio
    M libcxx/include/cstdlib
    M libcxx/include/cstring
    M libcxx/include/ctgmath
    M libcxx/include/ctime
    M libcxx/include/ctype.h
    M libcxx/include/cwchar
    M libcxx/include/cwctype
    M libcxx/include/deque
    M libcxx/include/errno.h
    M libcxx/include/exception
    M libcxx/include/execution
    M libcxx/include/experimental/__config
    M libcxx/include/experimental/__memory
    M libcxx/include/experimental/algorithm
    M libcxx/include/experimental/coroutine
    M libcxx/include/experimental/deque
    M libcxx/include/experimental/filesystem
    M libcxx/include/experimental/forward_list
    M libcxx/include/experimental/functional
    M libcxx/include/experimental/iterator
    M libcxx/include/experimental/list
    M libcxx/include/experimental/map
    M libcxx/include/experimental/memory_resource
    M libcxx/include/experimental/propagate_const
    M libcxx/include/experimental/regex
    M libcxx/include/experimental/set
    M libcxx/include/experimental/simd
    M libcxx/include/experimental/string
    M libcxx/include/experimental/type_traits
    M libcxx/include/experimental/unordered_map
    M libcxx/include/experimental/unordered_set
    M libcxx/include/experimental/utility
    M libcxx/include/experimental/vector
    M libcxx/include/ext/__hash
    M libcxx/include/ext/hash_map
    M libcxx/include/ext/hash_set
    M libcxx/include/fenv.h
    M libcxx/include/filesystem
    M libcxx/include/float.h
    M libcxx/include/format
    M libcxx/include/forward_list
    M libcxx/include/fstream
    M libcxx/include/functional
    M libcxx/include/future
    M libcxx/include/initializer_list
    M libcxx/include/inttypes.h
    M libcxx/include/iomanip
    M libcxx/include/ios
    M libcxx/include/iosfwd
    M libcxx/include/iostream
    M libcxx/include/istream
    M libcxx/include/iterator
    M libcxx/include/latch
    M libcxx/include/limits
    M libcxx/include/limits.h
    M libcxx/include/list
    M libcxx/include/locale
    M libcxx/include/locale.h
    M libcxx/include/map
    M libcxx/include/math.h
    M libcxx/include/memory
    M libcxx/include/mutex
    M libcxx/include/new
    M libcxx/include/numbers
    M libcxx/include/numeric
    M libcxx/include/optional
    M libcxx/include/ostream
    M libcxx/include/queue
    M libcxx/include/random
    M libcxx/include/ranges
    M libcxx/include/ratio
    M libcxx/include/regex
    M libcxx/include/scoped_allocator
    M libcxx/include/semaphore
    M libcxx/include/set
    M libcxx/include/setjmp.h
    M libcxx/include/shared_mutex
    M libcxx/include/span
    M libcxx/include/sstream
    M libcxx/include/stack
    M libcxx/include/stdbool.h
    M libcxx/include/stddef.h
    M libcxx/include/stdexcept
    M libcxx/include/stdint.h
    M libcxx/include/stdio.h
    M libcxx/include/stdlib.h
    M libcxx/include/streambuf
    M libcxx/include/string
    M libcxx/include/string.h
    M libcxx/include/string_view
    M libcxx/include/strstream
    M libcxx/include/system_error
    M libcxx/include/tgmath.h
    M libcxx/include/thread
    M libcxx/include/tuple
    M libcxx/include/type_traits
    M libcxx/include/typeindex
    M libcxx/include/typeinfo
    M libcxx/include/unordered_map
    M libcxx/include/unordered_set
    M libcxx/include/utility
    M libcxx/include/valarray
    M libcxx/include/variant
    M libcxx/include/vector
    M libcxx/include/version
    M libcxx/include/wchar.h
    M libcxx/include/wctype.h
    M libcxx/test/libcxx/lint/lint_headers.sh.py
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] Normalize all our '#pragma GCC system_header', and regression-test.

Now we'll notice if a header forgets to include this magic phrase.

Differential Revision: https://reviews.llvm.org/D118800




More information about the All-commits mailing list