[all-commits] [llvm/llvm-project] 0865b7: [libc++] Fix the signatures of `std::rethrow_if_ne...

A. Jiang via All-commits all-commits at lists.llvm.org
Wed Jul 3 07:51:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0865b782f62fadcdb82e5bd7be432c96109228d0
      https://github.com/llvm/llvm-project/commit/0865b782f62fadcdb82e5bd7be432c96109228d0
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M libcxx/include/__exception/nested_exception.h
    M libcxx/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp

  Log Message:
  -----------
  [libc++] Fix the signatures of `std::rethrow_if_nested` (#91365)

Fixes #54470.

See https://eel.is/c++draft/global.functions#2:
    > A call to a non-member function signature described in [support]
    > through [thread] and [depr] shall behave as if the implementation
    > declared no additional non-member function signatures.

and https://eel.is/c++draft/global.functions#3:
    > An implementation shall not declare a non-member function signature
    > with additional default arguments.



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