[all-commits] [llvm/llvm-project] 4ea2c7: [libc++] Deprecate and remove std::uncaught_except...

A. Jiang via All-commits all-commits at lists.llvm.org
Tue Aug 27 14:15:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ea2c73886c407d47215484ab6c983ac6189dd14
      https://github.com/llvm/llvm-project/commit/4ea2c73886c407d47215484ab6c983ac6189dd14
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/20.rst
    M libcxx/docs/Status/Cxx17.rst
    M libcxx/docs/Status/Cxx17Papers.csv
    M libcxx/docs/Status/Cxx20.rst
    M libcxx/docs/UserDocumentation.rst
    M libcxx/include/__exception/operations.h
    M libcxx/include/__ostream/basic_ostream.h
    M libcxx/include/exception
    M libcxx/modules/std/exception.inc
    M libcxx/src/exception.cpp
    M libcxx/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp
    A libcxx/test/std/language.support/support.exception/uncaught/uncaught_exeption.depr_in_cxx17.verify.cpp

  Log Message:
  -----------
  [libc++] Deprecate and remove std::uncaught_exception (#101830)

Works towards P0619R4/#99985.

- 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.

- _LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION restores
  std::uncaught_exception.

- As a drive-by, this patch updates the C++20 status page to 
  explain that D.11 is already done, since it was done in 
  578d09c1b195d859ca7e62840ff6bb83421a77b5.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list