Page MenuHomeFreeBSD

libc++: avoid use of deprecated __reference_binds_to_temporary
ClosedPublic

Authored by arichardson on Sep 14 2025, 10:45 PM.
Tags
None
Referenced Files
F143598076: D52530.diff
Sat, Jan 31, 12:45 AM
Unknown Object (File)
Mon, Jan 5, 6:56 AM
Unknown Object (File)
Dec 24 2025, 4:12 PM
Unknown Object (File)
Dec 8 2025, 10:26 PM
Unknown Object (File)
Nov 23 2025, 8:21 AM
Unknown Object (File)
Nov 9 2025, 1:18 AM
Unknown Object (File)
Nov 1 2025, 6:25 AM
Unknown Object (File)
Oct 28 2025, 8:41 PM
Subscribers

Details

Summary

This was removed in upstream libc++ in commit
437ad06f762ab07d89badecdd20627db200b98d3, but as this does not apply
cleanly to the current repository, I am applying the equivalent change
in a minimally invasive way. This is needed to build with latest clang
HEAD as of today.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 67022
Build 63905: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sep 15 2025, 12:09 PM
contrib/llvm-project/libcxx/include/tuple
305

The if and elif are both __has_keyword(__reference_binds_to_temporary)?

contrib/llvm-project/libcxx/include/tuple
305

The if and elif are both __has_keyword(__reference_binds_to_temporary)?

Good catch, will fix before committing!