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
F132633877: D52530.diff
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
Unknown Object (File)
Wed, Oct 8, 8:53 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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

The if and elif are both __has_keyword(__reference_binds_to_temporary)?

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

The if and elif are both __has_keyword(__reference_binds_to_temporary)?

Good catch, will fix before committing!