Page MenuHomeFreeBSD

libc++: Fix deprecation warnings with latest clang
ClosedPublic

Authored by arichardson on Sep 14 2025, 10:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 23, 2:58 AM
Unknown Object (File)
Sat, Nov 22, 3:41 AM
Unknown Object (File)
Wed, Nov 19, 5:26 AM
Unknown Object (File)
Mon, Nov 10, 1:21 AM
Unknown Object (File)
Wed, Nov 5, 11:31 PM
Unknown Object (File)
Sat, Nov 1, 9:41 AM
Unknown Object (File)
Fri, Oct 31, 10:44 PM
Unknown Object (File)
Wed, Oct 29, 9:33 AM
Subscribers

Details

Summary

Latest clang has become more strict in diagnosing deprecated decls, so
pull in LLVM commit 9feac2cbd0d80927ce9a8b4c3e810d2b81802d55.

Original commit message:
[libc++] Improve deprecated diagnostic guards.

Recent Clang-21 builds improved the deprecated diagnotics. This
uncovered missing guards in libc++ internally.

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

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:14 PM

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

This seems confusing in the commit message

Note: This patch should be a separate commit and not merged.
For testing purposes they are combined.

This seems confusing in the commit message

will drop that part of the commit message, I guess something went wrong when this was committed upstream.