Skip to content
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

[libc++] Remove get_temporary_buffer/return_temporary_buffer #100914

Merged
merged 31 commits into from
Sep 16, 2024

Commits on Jul 28, 2024

  1. [libc++] Remove functions deprecated in C++17 and removed in C++20

    Works towards P0619R4.
    
    - `std::uncaught_exception` was not previously deprecated. This patch deprecates it since C++17 as per N4259. `std::uncaught_exceptions` is used instead as libc++ unconditionally provides this function.
    - `std::get_temporary_buffer` is replaced with the internal version `__get_temporary_buffer`.
    - `std::return_temporary_buffer` is replaced with direct `__libcpp_deallocate_unsized` call.
    
    Escape hatches:
    - `_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION` restores `std::uncaught_exception`.
    - `_LIBCPP_ENABLE_CXX20_REMOVED_TEMPORARY_BUFFER` restores `std::get_temporary_buffer` and `std::return_temporary_buffer`.
    frederick-vs-ja committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    f7ff07e View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    25a9782 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Merge branch 'main' into libcxx-cxx20-removal

    # Conflicts:
    #	libcxx/docs/Status/Cxx17Papers.csv
    frederick-vs-ja committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    038af58 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60212b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2841f72 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Configuration menu
    Copy the full SHA
    d0f6edf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5268aa9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3529007 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    2a71c0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d42fd6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfc0ef5 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    3cc9bb7 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    9e2567a View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Merge branch 'main' into libcxx-cxx20-removal

    # Conflicts:
    #	libcxx/docs/ReleaseNotes/20.rst
    #	libcxx/docs/Status/Cxx20.rst
    frederick-vs-ja committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    ffce43a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b83103b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c812180 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6e94f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Configuration menu
    Copy the full SHA
    5c50d6a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into libcxx-cxx20-removal

    # Conflicts:
    #	libcxx/docs/Status/Cxx20.rst
    frederick-vs-ja committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    2890c1d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8de11d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eda4edf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1f3fde7 View commit details
    Browse the repository at this point in the history
  6. Fix copy-pasta

    frederick-vs-ja committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    5e4b157 View commit details
    Browse the repository at this point in the history
  7. Fix CI failures

    - C++03 `> >`
    - Module exporting
    - `unique_ptr` construction
    frederick-vs-ja committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    2bd52cb View commit details
    Browse the repository at this point in the history
  8. Fix bad return;

    frederick-vs-ja authored Sep 1, 2024
    Configuration menu
    Copy the full SHA
    51b18a2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0961a50 View commit details
    Browse the repository at this point in the history
  10. Use alias template

    frederick-vs-ja committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    dc503fa View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    74f4c4a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1406cd5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    de9a474 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Configuration menu
    Copy the full SHA
    fa30053 View commit details
    Browse the repository at this point in the history