[Bug 292067] [exp-run] Against llvm-21-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Apr 2026 14:20:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292067

--- Comment #89 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=987ac31018cba9f1763ad3acfb68b933f58a4c52

commit 987ac31018cba9f1763ad3acfb68b933f58a4c52
Author:     Dimitry Andric <dimitry@andric.com>
AuthorDate: 2026-01-05 20:31:45 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2026-04-25 14:14:21 +0000

    libcxx-compat: fix llvmorg-21-init-18351-gfcc09b6f0267:

      [libc++] Fix std::make_exception_ptr interaction with ObjC (#135386)

      Clang treats throwing/catching ObjC types differently from C++ types,
      and omitting the `throw` in `std::make_exception_ptr` breaks ObjC
      invariants about how types are thrown/caught.

      Fixes #135089

      Co-authored-by: Louis Dionne <ldionne.2@gmail.com>

    Only use lambdas when in !defined(_LIBCPP_CXX03_LANG), so this will
    compile with clang 18 and lower, in C++03 mode and earlier.

    PR:             292067
    MFC after:      1 month

 contrib/llvm-project/libcxx/include/__exception/exception_ptr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.