Skip to content

[libc++][C++03] Remove headers which don't provide anything #134044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
436 changes: 0 additions & 436 deletions libcxx/include/CMakeLists.txt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In your commit message, please explain what you're doing, and the fact that this relates to the C++03 freeze. Most people are not super familiar with the whole thing, so this will be really helpful context to most.

Large diffs are not rendered by default.

44 changes: 0 additions & 44 deletions libcxx/include/__cxx03/__algorithm/clamp.h

This file was deleted.

2 changes: 1 addition & 1 deletion libcxx/include/__cxx03/__algorithm/count.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
#include <__cxx03/__bit/popcount.h>
#include <__cxx03/__config>
#include <__cxx03/__functional/identity.h>
#include <__cxx03/__functional/invoke.h>
#include <__cxx03/__fwd/bit_reference.h>
#include <__cxx03/__iterator/iterator_traits.h>
#include <__cxx03/__type_traits/invoke.h>

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
Expand Down
3 changes: 1 addition & 2 deletions libcxx/include/__cxx03/__algorithm/equal.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
#include <__cxx03/__algorithm/unwrap_iter.h>
#include <__cxx03/__config>
#include <__cxx03/__functional/identity.h>
#include <__cxx03/__functional/invoke.h>
#include <__cxx03/__iterator/distance.h>
#include <__cxx03/__iterator/iterator_traits.h>
#include <__cxx03/__string/constexpr_c_functions.h>
#include <__cxx03/__type_traits/desugars_to.h>
#include <__cxx03/__type_traits/enable_if.h>
#include <__cxx03/__type_traits/is_constant_evaluated.h>
#include <__cxx03/__type_traits/invoke.h>
#include <__cxx03/__type_traits/is_equality_comparable.h>
#include <__cxx03/__type_traits/is_volatile.h>
#include <__cxx03/__utility/move.h>
Expand Down
2 changes: 1 addition & 1 deletion libcxx/include/__cxx03/__algorithm/equal_range.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#include <__cxx03/__algorithm/upper_bound.h>
#include <__cxx03/__config>
#include <__cxx03/__functional/identity.h>
#include <__cxx03/__functional/invoke.h>
#include <__cxx03/__iterator/advance.h>
#include <__cxx03/__iterator/distance.h>
#include <__cxx03/__iterator/iterator_traits.h>
#include <__cxx03/__iterator/next.h>
#include <__cxx03/__type_traits/invoke.h>
#include <__cxx03/__type_traits/is_callable.h>
#include <__cxx03/__type_traits/is_constructible.h>
#include <__cxx03/__utility/move.h>
Expand Down
1 change: 0 additions & 1 deletion libcxx/include/__cxx03/__algorithm/find.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <__cxx03/__bit/invert_if.h>
#include <__cxx03/__config>
#include <__cxx03/__functional/identity.h>
#include <__cxx03/__functional/invoke.h>
#include <__cxx03/__fwd/bit_reference.h>
#include <__cxx03/__iterator/segmented_iterator.h>
#include <__cxx03/__string/constexpr_c_functions.h>
Expand Down
2 changes: 1 addition & 1 deletion libcxx/include/__cxx03/__algorithm/find_end.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
#include <__cxx03/__algorithm/search.h>
#include <__cxx03/__config>
#include <__cxx03/__functional/identity.h>
#include <__cxx03/__functional/invoke.h>
#include <__cxx03/__iterator/advance.h>
#include <__cxx03/__iterator/iterator_traits.h>
#include <__cxx03/__iterator/next.h>
#include <__cxx03/__iterator/reverse_iterator.h>
#include <__cxx03/__type_traits/invoke.h>
#include <__cxx03/__utility/pair.h>

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Expand Down
128 changes: 0 additions & 128 deletions libcxx/include/__cxx03/__algorithm/fold.h

This file was deleted.

2 changes: 0 additions & 2 deletions libcxx/include/__cxx03/__algorithm/for_each.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
#include <__cxx03/__algorithm/for_each_segment.h>
#include <__cxx03/__config>
#include <__cxx03/__iterator/segmented_iterator.h>
#include <__cxx03/__ranges/movable_box.h>
#include <__cxx03/__type_traits/enable_if.h>
#include <__cxx03/__utility/in_place.h>
#include <__cxx03/__utility/move.h>

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Expand Down
41 changes: 0 additions & 41 deletions libcxx/include/__cxx03/__algorithm/for_each_n.h

This file was deleted.

54 changes: 0 additions & 54 deletions libcxx/include/__cxx03/__algorithm/in_found_result.h

This file was deleted.

54 changes: 0 additions & 54 deletions libcxx/include/__cxx03/__algorithm/in_fun_result.h

This file was deleted.

Loading
Loading