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
Unknown Object (File)
Fri, Oct 24, 1:46 AM
Unknown Object (File)
Sat, Oct 18, 3:02 PM
Unknown Object (File)
Wed, Oct 15, 6:59 AM
Unknown Object (File)
Sat, Oct 11, 8:23 PM
Unknown Object (File)
Sat, Oct 11, 1:40 PM
Unknown Object (File)
Sat, Oct 11, 1:40 PM
Unknown Object (File)
Sat, Oct 11, 1:40 PM
Unknown Object (File)
Sat, Oct 11, 5:23 AM
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!